2
votes
Accepted
strip.clear() is not clearing/turning off the NeoPixel strip after resetting the ESP8266
We can have a look at the clear() function inside the Adafruit_Neopixel library. In Adafruit_Neopixel.cpp you can find at line 3396 (searching for clear(void) will get you there):
void ...
1
vote
NodeMCU 1.0 - Port D3, relay and pump does not boot
D3 is connected to the FLASH button on the board. It is used to control the boot mode on startup. If this pin is LOW on startup it will stay in flash mode, ready to receive a new program. If it is ...
1
vote
Running code inside void loop() vs inside a separate function with an infinite loop in it
The ESP8266 has additional code that needs to run between iterations of the loop function. If you are going to trap it elsewhere in some while loop, then you need to also be sure to call delay(0); or ...
1
vote
Running code inside void loop() vs inside a separate function with an infinite loop in it
loop already runs indefinitely, hence its name. You don't need to add another loop in your go_to function. Remove that and it should be functionally identical.
1
vote
Attempt to change an ESP8266's flashs layout over-the-air
As it turns out the update routine of ESPhttpUpdate.h works just fine when the flash layout changes after an OTA update.
At least in my case where the second half of flash memory is unused.
If there ...
1
vote
Where can I store secret keys?
As @the busybee already said, the ESP8266 is the wrong chip for such applications. Since you always have the possibility to change the firmware. You could write your own bootloader that only accepts ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
esp8266 × 1998arduino-uno × 455
nodemcu × 287
wifi × 276
arduino-ide × 233
serial × 103
web-server × 97
http × 86
esp32 × 78
softwareserial × 75
programming × 59
sensors × 52
arduino-mega × 48
iot × 48
c++ × 46
arduino-nano × 45
power × 44
mqtt × 41
relay × 38
pins × 35
json × 31
sleep × 30
i2c × 29
espressif × 27
string × 26