- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use the component LCD_SEG,which added 7seg.The numbers to display changes somtimes.
How to make the displayed numbers blink?
Thanks first.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to do the blinking manually: use a timer and a digit array of booleans. At timer interrupt check each digit boolean for blinking and if it should blink, clear/rewrite the digit's segments.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to do the blinking manually: use a timer and a digit array of booleans. At timer interrupt check each digit boolean for blinking and if it should blink, clear/rewrite the digit's segments.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,Bob.I used to make the problem complicated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recently had to do something similar using real 7 segment LED displays. Blinking, shutting on/off and display of colon where the properties I had to maintain (apart from the number/symbol to display). I defined an array of digit structures to hold the state and properties and a handful of APIs to encapsulate the access. Was not too difficult.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was just foolish on how to shut off the display of 7-segment.
In my project,the data I need to save is small,so I used a static variable.
But your advice did give me a lot of ideas.Think they will be very useful later.