当前位置:网站首页>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)

边栏推荐
- On the day when 28K joined Huawei testing post, I cried: everything I have done in these five months is worth it
- Global and Chinese market of glossometer 2022-2028: Research Report on technology, participants, trends, market size and share
- Cesiumjs 2022^ source code interpretation [8] - resource encapsulation and multithreading
- 长文综述:大脑中的熵、自由能、对称性和动力学
- Future源码一观-JUC系列
- [cloud native topic -48]:kubesphere cloud Governance - operation - overview of multi tenant concept
- Bodong medical sprint Hong Kong stocks: a 9-month loss of 200million Hillhouse and Philips are shareholders
- Beijing invites reporters and media
- Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
- Flutter local database sqflite
猜你喜欢

How to be a professional software testing engineer? Listen to the byte five year old test

CLP information - how does the digital transformation of credit business change from star to finger?

Function: store the strings entered in the main function in reverse order. For example, if you input the string "ABCDEFG", you should output "gfedcba".

MySQL winter vacation self-study 2022 12 (1)
![Cesiumjs 2022^ source code interpretation [8] - resource encapsulation and multithreading](/img/d2/99932660298b4a4cddd7e5e69faca1.png)
Cesiumjs 2022^ source code interpretation [8] - resource encapsulation and multithreading

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

The super fully automated test learning materials sorted out after a long talk with a Tencent eight year old test all night! (full of dry goods

It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction

Weekly open source project recommendation plan
![[complimentary ppt] kubemeet Chengdu review: make the delivery and management of cloud native applications easier!](/img/28/fc05f2e8d53cf81fd061c799090022.jpg)
[complimentary ppt] kubemeet Chengdu review: make the delivery and management of cloud native applications easier!
随机推荐
Query efficiency increased by 10 times! Three optimization schemes to help you solve the deep paging problem of MySQL
Network layer - routing
The difference between fetchtype lazy and eagle in JPA
Att & CK actual combat series - red team actual combat - V
7.1 学习内容
How to set the response description information when the response parameter in swagger is Boolean or integer
GUI application: socket network chat room
在寻求人类智能AI的过程中,Meta将赌注押向了自监督学习
Msp32c3 board connection MSSQL method
Global and Chinese market of glossometer 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL winter vacation self-study 2022 12 (2)
Summary of common tools and technical points of PMP examination
From functional testing to automated testing, how did I successfully transform my salary to 15K +?
Fundamentals of machine learning: feature selection with lasso
技术实践|线上故障分析及解决方法(上)
What is the GPM scheduler for go?
All in one 1412: binary classification
数据库表外键的设计
It's OK to have hands-on 8 - project construction details 3-jenkins' parametric construction
From functools import reduce -- see the use of reduce function from typical examples