Rotary Encoder and Display
Closed this issue · 2 comments
gitandrewd commented
Hi,
Firstly thanks for this great Library!
I am currently using it with Catalex TM1637 with a rotary encoder. The issue I am having is that every time I scroll up from 90 pass 100 then down again below 99, the third segment remains at 0. So 99 and anything below becomes 990. Is there any way for me to clear than third segment once it drops below 99.
Thanks for your time!
Dave
Amritpal101 commented
You can use it with this logic
If (value <=99){
display.setCurser(0,0);
displayPrint(value);
display.setCurser(0,2)
displayPrint(“ ”);
}else if(value >=100){
display.setCurser(0,0);
displayPrint(value);
}
Amritpal Singh
…
On Apr 3, 2019 at 1:06 PM, <gitandrewd ***@***.***)> wrote:
Hi,
Firstly thanks for this great Library!
I am currently using it with Catalex TM1637 with a rotary encoder. The issue I am having is that every time I scroll up from 90 pass 100 then down again below 99, the third segment remains at 0. So 99 and anything below becomes 990. Is there any way for me to clear than third segment once it drops below 99.
Thanks for your time!
Dave
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (#32), or mute the thread (https://github.com/notifications/unsubscribe-auth/AVpVf9hLKUh14jmGjUMuobZxzn8GPx3Pks5vdH0pgaJpZM4caHwb).
gitandrewd commented
Worked Perfect! Thanks Amritpal for the quick reply :)