/* ESP8266 Blink by Simon Peter Blink the blue LED on the ESP-01 module This example code is in the public domain The blue LED on the ESP-01 module is connected to GPIO1 (which is also the TXD pin; so we cannot use Serial.print() at the same time) Note that this sketch uses LED_BUILTIN to find the pin with the internal LED */ #include #include #include #include #define PIN 13 //=wemos D1 Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800); int delayval = 500; void setup() { pixels.begin(); } void loop() { pixels.clear(); pixels.setPixelColor(random(0), random(0, 255), random(0, 255), random(0, 255)); pixels.show(); delay(500); }