Browsing Tag

esp8266

Various Wemos RGB LED Shield examples

Here are a few code examples for the Wemos RGB LED Shield, the shield consists of 7 RGB LEDs (WS2812B-mini) each wtih 24-bit RGB color 9 optional control pins (Default: D4/GPIO2) It fits on a Wemos mini and is easy to create examples, you simply need to add the adafruit neopixel library in the library manager in the Arduino IDE Example 1 This is the default example #include <Adafruit_NeoPixel.h> #define PIN D4 #define LED_NUM 7 Adafruit_NeoPixel leds = Adafruit_NeoPixel(LED_NUM, PIN, NEO_GRB + NEO_KHZ800); void…

5 Wemos Mini shields with examples

In this article we look at five Wemos shields and will have examples of their usage. The Wemos mini is my favourite development board for the ESP8266 microcontroller. The shields we are looking at are the PIR Shield, Ambient light Shield, WS2812B RGB Shield, SHT30 Shield and the Matrix LED Shield.