procTimer.initializeMs(2000, sayHello).start();
What if the timer function has arguments like sayHello(int x, char* y)? How do I call procTimer.initializeMs() to handle timer function with arguments?
Explore... Chat... Share...
procTimer.initializeMs(2000, sayHello).start();
kenn wrote:helpme wrote: I programmed in the Basic_Blink app into the ESP8266 module. For some reason, the module has to wait around 30 seconds for the LED to start blinking for the very first time after flashing upon power-up. For subsequent power-ups, the LED starts blinking immediately. Has anyone encountered the same issue? It is strange.
I expect that on your first boot, the ESP8266 was going through its wifi setup and connecting, and saving the config. In subsequent boots. it simply loads that config, which is alot faster.
helpme wrote:kenn wrote:helpme wrote: I programmed in the Basic_Blink app into the ESP8266 module. For some reason, the module has to wait around 30 seconds for the LED to start blinking for the very first time after flashing upon power-up. For subsequent power-ups, the LED starts blinking immediately. Has anyone encountered the same issue? It is strange.
I expect that on your first boot, the ESP8266 was going through its wifi setup and connecting, and saving the config. In subsequent boots. it simply loads that config, which is alot faster.
I discovered the problem. From serial output, I can see that ESP8266 is initializing the file system. So far, it seems to happen only for Sming apps. I don't see it for AT command firmware from EspressIf.
alon24 wrote:Do you mean the 1% 2%... 105% ??? I too saw this today in sming.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]