https://espressif-docs.readthedocs-host ... timer.html
my platform Arduino 2.2.1
my Board library : Esp32 by Espressif systems 2.0.11
And I get erros for examle :
Etc...C:\Users\leno\AppData\Local\Temp\.arduinoIDE-unsaved2023118-15208-5agu7p.d9ara\sketch_dec8a\sketch_dec8a.ino: In function 'void setup()':
C:\Users\leno\AppData\Local\Temp\.arduinoIDE-unsaved2023118-15208-5agu7p.d9ara\sketch_dec8a\sketch_dec8a.ino:7:29: error: too few arguments to function 'hw_timer_t* timerBegin(uint8_t, uint16_t, bool)'
timer = timerBegin(1000000);
^
In file included from C:\Users\leno\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/esp32-hal.h:92,
from C:\Users\leno\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/Arduino.h:36,
from C:\Users\leno\AppData\Local\Temp\.arduinoIDE-unsaved2023118-15208-5agu7p.d9ara\sketch_dec8a\sketch_dec8a.ino:1:
C:\Users\leno\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/esp32-hal-timer.h:33:14: note: declared here
hw_timer_t * timerBegin(uint8_t timer, uint16_t divider, bool countUp);
Why?