当前位置:网站首页>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)
边栏推荐
- 不得不会的Oracle数据库知识点(三)
- 在寻求人类智能AI的过程中,Meta将赌注押向了自监督学习
- The first training of wechat applet
- 使用dnSpy对无源码EXE或DLL进行反编译并且修改
- It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction
- [error record] configure NDK header file path in Visual Studio (three header file paths of NDK | ASM header file path selection related to CPU architecture)
- Weekly open source project recommendation plan
- Technical practice online fault analysis and solutions (Part 1)
- What is regression testing? Talk about regression testing in the eyes of Ali Test Engineers
- Pair
猜你喜欢
【.NET+MQTT】. Net6 environment to achieve mqtt communication, as well as bilateral message subscription and publishing code demonstration of server and client
How to be a professional software testing engineer? Listen to the byte five year old test
MPLS experiment
Print diamond pattern
2-redis architecture design to use scenarios - four deployment and operation modes (Part 2)
[common error] UART cannot receive data error
Beijing invites reporters and media
Self study software testing. To what extent can you go out and find a job?
Alibaba test engineer with an annual salary of 500000 shares notes: a complete set of written tests of software testing
Struct in linked list
随机推荐
Sequence list and linked list
Msp32c3 board connection MSSQL method
Weekly open source project recommendation plan
Self study software testing. To what extent can you go out and find a job?
Cloud dial test helps Weidong cloud education to comprehensively improve the global user experience
不得不会的Oracle数据库知识点(四)
[error record] configure NDK header file path in Visual Studio (three header file paths of NDK | ASM header file path selection related to CPU architecture)
Interview script of Software Test Engineer
【.NET+MQTT】. Net6 environment to achieve mqtt communication, as well as bilateral message subscription and publishing code demonstration of server and client
From functional testing to automated testing, how did I successfully transform my salary to 15K +?
Oracle database knowledge points (I)
About uintptr_ T and IntPtr_ T type
Bodong medical sprint Hong Kong stocks: a 9-month loss of 200million Hillhouse and Philips are shareholders
In the process of seeking human intelligent AI, meta bet on self supervised learning
基于.NetCore开发博客项目 StarBlog - (14) 实现主题切换功能
Leetcode 121 best time to buy and sell stock (simple)
不得不会的Oracle数据库知识点(三)
The frost peel off the purple dragon scale, and the xiariba people will talk about database SQL optimization and the principle of indexing (primary / secondary / clustered / non clustered)
Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
Beijing invites reporters and media