Post topics, source code that relate to the Arduino Platform

User avatar
By btidey
#83760 The NodeMCU is identical to an ESP-12 module from a resource perspective as it uses this type of module on it. The difference is that the NodeMCU has built in USB > Serial, voltage regulation, and auto flash download circuitry.

So the use of timer1 by the pwm system to support analog write remains the same.

The advice to use timer0 is correct. That can be used with interrupts but the behaviour is a little different as the timer register is incrementing all the time so you have to tell it what it next value you want it to get to when responding in the isr.