-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
Hello,
I was excperiencing some freezing / hanging behaviour with some tm1637 7-segment displays and this library on a Raspberry Pi Pico board.
I was able to fix it modifiyng your original library as follows:
-
replace all the "sleep_us" occurrencies with "time.sleep"
-
change the "TM1637_DELAY = const(10)" line with "TM1637_DELAY = const(0.00001)"
-
replace the "from time import sleep_us, sleep_ms" line to "import time"
-
I also changed the "sleep_ms(delay)" inside the scroll function with "time.sleep(delay)" and changed the original "delay=250" with "delay=0.250"
My script is now running since two days with no more freezings! I hope this helps.
mcauseralexjgarcia
Metadata
Metadata
Assignees
Labels
No labels