Skip to content

Instantly share code, notes, and snippets.

View michapixel's full-sized avatar

Michael Stuhr michapixel

View GitHub Profile
@michapixel
michapixel / esp8266-espruino-neopixel.js
Created March 1, 2017 20:52 — forked from creationix/esp8266-espruino-neopixel.js
Example of controlling rgbw neopixels from an esp8266 using espruino firmware.
var esp = require("ESP8266");
var pin = new Pin(5);
pinMode(pin, "output");
var pixels = [
//G,R,B,W
0,0,0,0, // LED 0
0,0,0,0, // LED 1
0,0,0,0, // LED 2