Timer Digital Programable Manual

I have beginner skills on arduino, and I kind of jumped the gun into a project for school, to build a programmable switch timer, it has 4 buttons The switch is to be able to program on and off times of a bulb, it should be able to set 2 programs daily for each day of the week(i.e. i can manually program 2 on/off times for each day Monday through sunday).This also implies that date, time are ...

too many arguments to function 'hw_timer_t* timerBegin (uint32_t)' 528 | timer = timerBegin (0, 80, true); // Alarm value will be in in us it looks like you are attempting to build code using ESP32 core 3.x which was implemented for ESP32 core 2.x have a look at the ESP32 core V3.x Arduino-ESP32 Timer API also worth looking at is Migration from ESP32 core 2.x to 3.x

Timer Digital Programable Manual 2

The best way to answer this is to have you grab your favorite search engine and look for 'WDT RDP32 xxx,' where WDT stands for Watchdog Timer and xxx is the specific unit you have.

Timer Digital Programable Manual 3

As you understand I need a hardware timer (counting clock ticks). Millis () makes demanding to ckeck if "old value" is smaller than millis () value (normal run from start until rollover) or greater (1st time after rollover) before any compare.

I clear the timer, set it up in Input Capture Mode, set the pre-scaler to ClkIO/1024, and enable Overflow interrupts, as the event I'm timing can take up to 10 seconds, which means the timer may overflow twice. I maintain a software count, in a uint32_t that is increment by 65536 every time an overflow occurs.

Timer Digital Programable Manual 5