当前位置:网站首页>0 basic learning C language - nixie tube dynamic scanning display
0 basic learning C language - nixie tube dynamic scanning display
2022-07-04 00:58:00 【If life is just like the first time 645】
List of articles
One 、 The concept of dynamic scanning
The persistence of light-emitting diodes in human vision , Although in fact, the digital tubes are not lit at the same time , But as long as the scan is fast enough , A stable set of data gives the impression that , There's no flicker , The effect of dynamic display is the same as that of static display , Can save a lot of I/O port , And lower power consumption .
Two 、 Example is given to illustrate
1、 Schematic diagram

2、 Practice examples
1. example 1— Display fixed values
- Display subroutine

- Delay subroutine

- The main program

2. example 2— Display the value of runout
- Initialization subroutine , Every time the overflow interrupt is completed, it must be given again TH0 Follow TL0 An initial value

- Timer interrupt subroutine —— Every overflow interrupt tt+1.

- Display subroutine , Pay attention to the need for shadow elimination

- The main program , interrupt 1 Next is 50ms, Cumulative 20 The first interrupt is 1 second , Namely variable tt=20 by 1 second . The variable temp+1 And displayed on the nixie tube ( Specify maximum to 100)

边栏推荐
- 【.NET+MQTT】. Net6 environment to achieve mqtt communication, as well as bilateral message subscription and publishing code demonstration of server and client
- AI helps make new breakthroughs in art design plagiarism retrieval! Professor Liu Fang's team paper was employed by ACM mm, a multimedia top-level conference
- It is worthy of "Alibaba internal software test interview notes" from beginning to end, all of which are essence
- Data mining vs Machine Learning: what is the difference between them? Which is more suitable for you to learn
- 查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题
- A malware detection method for checking PLC system using satisfiability modulus theoretical model
- AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
- 12. Go implementation of integer to Roman numeral and leetcode
- The difference between fetchtype lazy and eagle in JPA
- 数据库表外键的设计
猜你喜欢

Introduction to unity shader essentials reading notes Chapter III unity shader Foundation

Bodong medical sprint Hong Kong stocks: a 9-month loss of 200million Hillhouse and Philips are shareholders
![[prefix and notes] prefix and introduction and use](/img/a6/a75e287ac481559d8f733e6ca3e59c.jpg)
[prefix and notes] prefix and introduction and use

老姜的特点

中电资讯-信贷业务数字化转型如何从星空到指尖?

功能:求出菲波那契数列的前一项与后一项之比的极限的 近似值。例如:当误差为0.0001时,函数值为0.618056。

Struct in linked list

Future source code view -juc series

Cloud dial test helps Weidong cloud education to comprehensively improve the global user experience

技術實踐|線上故障分析及解决方法(上)
随机推荐
Introduction to thread pool
GUI application: socket network chat room
MySQL winter vacation self-study 2022 12 (2)
[cloud native topic -48]:kubesphere cloud Governance - operation - overview of multi tenant concept
Software testers, how can you quickly improve your testing skills? Ten minutes to teach you
1-Redis架构设计到使用场景-四种部署运行模式(上)
Future source code view -juc series
Fundamentals of machine learning: feature selection with lasso
MySQL uses the view to report an error, explain/show can not be issued; lacking privileges for underlying table
Why use get/set instead of exposing properties
Introduction to unity shader essentials reading notes Chapter III unity shader Foundation
Beijing invites reporters and media
Future源码一观-JUC系列
机器学习基础:用 Lasso 做特征选择
UTS | causal reasoning random intervention based on Reinforcement Learning
Characteristics of ginger
Is it really possible that the monthly salary is 3K and the monthly salary is 15K?
Function: find the approximate value of the limit of the ratio of the former term to the latter term of Fibonacci sequence. For example, when the error is 0.0001, the function value is 0.618056.
Oracle database knowledge points (I)
功能:求5行5列矩阵的主、副对角线上元素之和。注意, 两条对角线相交的元素只加一次。例如:主函数中给出的矩阵的两条对角线的和为45。