Timers on ESP32 are liternal not virtual right? #16494
Replies: 2 comments 2 replies
-
ESP32 16 bit timers of course 4... versus 2 group as 32 bit... I did not quality that in the above. But still think -1 as timer index or id on ESP32 should trip an exception or something... it appears it is accepted, but never fires. Even... T.init() does not freak out on ESP32 if you happen to use a virtual id or index. |
Beta Was this translation helpful? Give feedback.
-
What is weird is that I never got that error... I check for T=None it passed T was not None. But the timer never fired. Using 1.24.1 btw. I changed the timer id to 1,2,3,4 fired just fine. but as -1 never fired. Interesting. |
Beta Was this translation helpful? Give feedback.
-
Timers on ESP32 are liternal not virtual right? Timer(1), Timer(2), etc. 4 possible? Right? Then why does T = Timer(-1) not generate an exception or return T = None? ESP8266 virtual timers are supported so Timer(-1) would not generate an exception.
Beta Was this translation helpful? Give feedback.
All reactions