2925 views|2 replies

18

Posts

0

Resources
The OP
 

Timer interrupt to control static digital tube display [Copy link]

There is no error in the compilation, but the static digital tube does not flash and only displays 1. What is wrong with the logic? Please give me some advice.
This post is from 51mcu

Latest reply

You can try this: keep the timer interrupt function and do not use the other interrupt function. Read the key in the main loop and assign values to the corresponding variables. See if you can get the display to change.  Details Published on 2018-4-3 18:05
 

4005

Posts

0

Resources
2
 
It is inappropriate to use the interrupt service routine in while, which may cause unexpected events.
This post is from 51mcu
 
 
 

3471

Posts

11

Resources
3
 
You can try this: keep the timer interrupt function and do not use the other interrupt function. Read the key in the main loop and assign values to the corresponding variables. See if you can get the display to change.
This post is from 51mcu
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list