当前位置:网站首页>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)
边栏推荐
- 长文综述:大脑中的熵、自由能、对称性和动力学
- Cesiumjs 2022^ source code interpretation [8] - resource encapsulation and multithreading
- About uintptr_ T and IntPtr_ T type
- 数据库表外键的设计
- 国元证券开户是真的安全可靠吗
- Characteristics of ginger
- MySQL uses the view to report an error, explain/show can not be issued; lacking privileges for underlying table
- AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
- GUI 应用:socket 网络聊天室
- Introduction to thread pool
猜你喜欢
(Introduction to database system | Wang Shan) Chapter V database integrity: Exercises
基于.NetCore开发博客项目 StarBlog - (14) 实现主题切换功能
Sorry, Tencent I also refused
It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction
长文综述:大脑中的熵、自由能、对称性和动力学
[complimentary ppt] kubemeet Chengdu review: make the delivery and management of cloud native applications easier!
1-redis architecture design to use scenarios - four deployment and operation modes (Part 1)
Makefile judge custom variables
Cloud dial test helps Weidong cloud education to comprehensively improve the global user experience
Pratique technique | analyse et solution des défaillances en ligne (Partie 1)
随机推荐
打印菱形图案
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.
[software testing] you haven't mastered these real interview questions of big companies?
Generic
功能:将主函数中输入的字符串反序存放。例如:输入字符串“abcdefg”,则应输出“gfedcba”。
Oracle database knowledge points that cannot be learned (II)
What is regression testing? Talk about regression testing in the eyes of Ali Test Engineers
[error record] configure NDK header file path in Visual Studio
关于 uintptr_t和intptr_t 类型
The difference between objects and objects
Swagger2 quick start and use
查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题
7.1 learning content
长文综述:大脑中的熵、自由能、对称性和动力学
老姜的特点
Windos10 reinstallation system tutorial
Cesiumjs 2022^ source code interpretation [8] - resource encapsulation and multithreading
Delete all elements with a value of Y. The values of array elements and y are entered by the main function through the keyboard.
2-redis architecture design to use scenarios - four deployment and operation modes (Part 2)
Leetcode 121 best time to buy and sell stock (simple)