Hello,
I cannot tame the Wemos D1 mini in terms of millis(). I am trying to write a piece of code which, on receiving a command from the browser, turns on the output, in this case for testing purposes, of the "factory led" for 1 second, turns it off for 2sec and then on again for 3 seconds and then turns it off. I can't seem to get away with counting time. It is possible to take the easy way out and do a delay but at this point I will not be able to abort before the declared time has elapsed. Can I count on help with this?
Below is what I have managed to scrape together.
.
thanks in advance for your help
I cannot tame the Wemos D1 mini in terms of millis(). I am trying to write a piece of code which, on receiving a command from the browser, turns on the output, in this case for testing purposes, of the "factory led" for 1 second, turns it off for 2sec and then on again for 3 seconds and then turns it off. I can't seem to get away with counting time. It is possible to take the easy way out and do a delay but at this point I will not be able to abort before the declared time has elapsed. Can I count on help with this?
Below is what I have managed to scrape together.
Code: C / C++
thanks in advance for your help
