当前位置:网站首页>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^ 源码解读[8] - 资源封装与多线程
- AI 助力艺术设计抄袭检索新突破!刘芳教授团队论文被多媒体顶级会议ACM MM录用
- leetcode 121 Best Time to Buy and Sell Stock 买卖股票的最佳时机(简单)
- How to use AHAS to ensure the stability of Web services?
- 功能:编写函数fun求s=1^k+2^k +3^k + ......+N^k的值, (1的K次方到N的K次方的累加和)。
- Five high-frequency questions were selected from the 200 questions raised by 3000 test engineers
- Weekly open source project recommendation plan
- 查询效率提升10倍!3种优化方案,帮你解决MySQL深分页问题
- 关于 uintptr_t和intptr_t 类型
- 7.1 learning content
猜你喜欢

What is the potential of pocket network, which is favored by well-known investors?

Windos10 reinstallation system tutorial

Analysis and solution of lazyinitializationexception

be based on. NETCORE development blog project starblog - (14) realize theme switching function
![Cesiumjs 2022^ source code interpretation [8] - resource encapsulation and multithreading](/img/d2/99932660298b4a4cddd7e5e69faca1.png)
Cesiumjs 2022^ source code interpretation [8] - resource encapsulation and multithreading
![CesiumJS 2022^ 源码解读[8] - 资源封装与多线程](/img/d2/99932660298b4a4cddd7e5e69faca1.png)
CesiumJS 2022^ 源码解读[8] - 资源封装与多线程

I don't care about you. OKR or KPI, PPT is easy for you
![[common error] custom IP instantiation error](/img/de/d3f90cd224274d87fcf153bb9244d7.jpg)
[common error] custom IP instantiation error

Future源码一观-JUC系列

swagger中响应参数为Boolean或是integer如何设置响应描述信息
随机推荐
Flutter local database sqflite
Global and Chinese markets for coronary artery disease treatment devices 2022-2028: Research Report on technology, participants, trends, market size and share
Fundamentals of machine learning: feature selection with lasso
GUI 应用:socket 网络聊天室
What is regression testing? Talk about regression testing in the eyes of Ali Test Engineers
A malware detection method for checking PLC system using satisfiability modulus theoretical model
From functional testing to automated testing, how did I successfully transform my salary to 15K +?
Windos10 reinstallation system tutorial
It is worthy of "Alibaba internal software test interview notes" from beginning to end, all of which are essence
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.
Is the securities account opened by Caicai for individuals safe? Is there a routine
[complimentary ppt] kubemeet Chengdu review: make the delivery and management of cloud native applications easier!
2-Redis架构设计到使用场景-四种部署运行模式(下)
Oracle database knowledge points that cannot be learned (III)
How to use AHAS to ensure the stability of Web services?
【.NET+MQTT】.NET6 环境下实现MQTT通信,以及服务端、客户端的双边消息订阅与发布的代码演示
Is it really possible that the monthly salary is 3K and the monthly salary is 15K?
@EnableAsync @Async
Five high-frequency questions were selected from the 200 questions raised by 3000 test engineers
Global and Chinese market of underwater bags 2022-2028: Research Report on technology, participants, trends, market size and share