This post is from 51mcu
Latest reply
This post was last edited by damiaa on 2021-12-17 12:51
Check that the key is pressed and the timer is turned off. However, after the end, it is best to scan the digital tube again to give a fixed display value. Or turn it off (that is, give p0 a value you want).
You can also not turn off the timer, just set a flag, the flag is initially 0, the timer will display it when the flag is 0, otherwise it will not be displayed. Then your main program will change this flag according to the key press situation.
Details
Published on 2021-12-17 12:47
| ||
|
||
2
Published on 2021-12-17 12:47
Only look at the author
This post is from 51mcu
| ||
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190