You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell from going back the versions, there was not Softtimer support in V1.24.1 for ESP32. The supported times is and was a hard timer. Only the argument value check was improved in V1.25 to only accept values between 0 and <number_of_timers - 1>. For the ESP32S3 its 0-3.
With 1.24.1 and below, a timer number of -1 would result in using timer 3.
See the definitions from the esp-idf below:
I always thought I would use a virtual timer with -1. :-)
Thanks for your answer.
I am now trying to figure out where I could have learned that there is no virtual timer on esp32 s3 (or is it on all esp32?)
Port, board and/or hardware
esp32 s3
MicroPython version
MicroPython v1.25.0 on 2025-04-15; Generic ESP32S3 module with ESP32S3
Reproduction
Expected behaviour
no error on MicroPython v1.24.1 on 2024-11-29; Generic ESP32S3 module with ESP32S3
Observed behaviour
Traceback (most recent call last):
File "", line 1, in
ValueError: invalid Timer number
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree
The text was updated successfully, but these errors were encountered: