WS2812B RGB Wemos shield

2,95

Niet op voorraad

Voorraad notificatie email ontvangen?

SKU: HE0364-925 Categorieën: , , Tags: , , Verzenden:

Beschrijving

WS2812B RGB Wemos shield. Shield met een RGB WS2812B 5050 LED. Werkt met de neopixel library. Aan te sturen via pin D2 en 5V.

Wemos D1 mini beginnen:
Wemos D1 mini handleiding Arduino IDE
Wemos D1 mini handleiding NodeMCU
Drivers

Arduino code voorbeeld:

#include 



#define PIN            D2


// When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals.
// Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest
// example for more information on possible values.
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800);



void setup() {
  pixels.begin(); // This initializes the NeoPixel library.
}

void loop() {

  // For a set of NeoPixels the first NeoPixel is 0, second is 1, all the way up to the count of pixels minus one.



  // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
  for (int i = 0; i < 2; i++) {
    for (int j = 0; j < 2; j++) {
      for (int k = 0; k < 2; k++) {

        pixels.setPixelColor(0, pixels.Color(i * 255, j * 255, k * 255)); // Moderately bright green color.

        pixels.show(); // This sends the updated pixel color to the hardware.

        delay(200); // Delay for a period of time (in milliseconds).
      }
    }
  }
}

Reviews

Er zijn nog geen beoordelingen.

Enkel ingelogde klanten die dit product gekocht hebben, mogen een beoordeling schrijven.

Verzending binnen Nederland

Dit product word bezorgd via PostNL briefpost in een bubbel envelop.
- € 3.45 verzendkosten voor orders onder de € 25,-.
- € 2.95 verzendkosten voor orders tussen € 25 - 45,-.
- Orders boven de € 45,- worden gratis verstuurd per PostNL briefpost.

  • Op werkdagen voor 16:30 uur besteld, zelfde dag verzonden!
    Klik hier voor de kosten buiten Nederland.
  • Product vraag?

      Uw naam (verplicht)

      Uw email (verplicht)

      Uw vraag