Getting OSError 261 from machine.Timer

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
hsxsky
Posts: 1
Joined: Sun Apr 21, 2019 4:44 pm

Getting OSError 261 from machine.Timer

Post by hsxsky » Sun Apr 21, 2019 5:06 pm

Hello,

I tried to use multiple timers.
When I start fifth timer I got OSError 261.

In micropython documentation:
https://docs.micropython.org/en/latest/ ... er%20esp32
"Virtual (RTOS-based) timers are supported."
I think I can start multiple timers.

I checked espressif documentation.
https://docs.espressif.com/projects/esp ... timer.html
"The ESP32 chip contains two hardware timer groups. Each group has two general-purpose hardware timers."

Is it the source the problem?
Or do I search the solutions elsewhere?

Post Reply