I'm sure this has been discussed before but I can't find a solution.
I've built a light dimmer and the code uses hw-timer and includes the lines:
hw_timer_init(NMI_SOURCE, 0);
hw_timer_set_func(dimTimerISR);
ESPhttpUpdate.update() will only work if I comment out the second line.
I appreciate that this has something to do with disabling interrupts but having tried noInterrupts() I don't know how to proceed.
thanks
John