Hot answers tagged

6 votes

Same LED but different brightness on same PIN

All the pins are configured as INPUT by default on startup. So if you leave out the pinMode(7, OUTPUT);, pin 7 will still be configured as input. An Input doesn't provide any current (or only a very ...
chrisl's user avatar
  • 16.1k
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 ...
chrisl's user avatar
  • 16.1k

Only top scored, non community-wiki answers of a minimum length are eligible