In the USERCNF.h should the following line be uncommented:
// Uncomment incase of a ESP8266 ESP01 board; GPIO2=NeoPixel //#define BOARD_ESP01 true
Should look like this:
// Uncomment incase of a ESP8266 ESP01 board; GPIO2=NeoPixel #define BOARD_ESP01 true
Also the state LED should be disabled by setiing LED_SHOWMODE to false, otherwise the first pixel will flash:
// Options: #define LED_SHOWMODE false // Set false for IO_CLOCK
Select the generic ESP8266 board in the Arduino IDE.
Options:
All other options can be left to default values.
To put the ESP01 in programming mode the GPIO0 must be connected to GND; Check the ESP01 manual.
| NeoPixel | Pin | Remark |
|---|---|---|
| Data | GPIO 2 | Requires a 10k pullup resistor to 3,3V. The first 2 LEDs light up when starting. |
| Servo | Pin | Remark |
|---|---|---|
| 1 | GPIO 0 | 270Ω protection resistor between GP and servo. Requires a 10k pullup resistor to 3,3V. |
| I2C | Pin | Remark |
|---|---|---|
| SDA | GPIO 3 | Requires a 3k3 pullup resistor to 3,3V. |
| SCL | GPIO 1 | Requires a 3k3 pullup resistor to 3,3V. |