nodemcu-firmware/app/modules
Thomas Soëte 47b44229bf ws2812 data buffer
To create a size led long buffer:
buffer = ws2812.newBuffer(size);

To fill the buffer:
buffer:fill(g, r, b)

To get a particular led color:
g, r, b = buffer:get(index)

To set a particular led color:
buffer:set(index, g, r, b);

To send the buffer:
buffer:write(pin);
2016-01-18 17:21:08 +01:00
..
Makefile Remove all version data and combine 33 commits to 1. 2015-12-29 19:25:37 +08:00
adc.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
bit.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
bmp085.c BMP085: bmp085.init() should return 0 2016-01-14 22:23:03 +01:00
cjson.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
coap.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
crypto.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
dht.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
enduser_setup.c Fixed compilation error when the enduser_setup module is disabled yet requires ENDUSER_SETUP_AP_SSID to be defined. 2015-12-20 22:50:36 -05:00
file.c Upgrade to SDK 1.5.0 + Espressif's Open LWIP 1.5.0. 2015-12-23 11:17:05 +11:00
gpio.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
http.c Remove all version data and combine 33 commits to 1. 2015-12-29 19:25:37 +08:00
hx711.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
i2c.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
linit.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
mqtt.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
net.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
node.c Optimized node.bootreason() for size. 2016-01-15 11:42:20 +11:00
ow.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
pwm.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
rc.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
rtcfifo.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
rtcmem.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
rtctime.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
sntp.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
spi.c SPI: Implemented CPOL=1 2016-01-13 22:39:15 -05:00
tmr.c Range check the tmr interval value. 2016-01-10 18:10:03 +11:00
tsl2561.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
u8g.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
uart.c uart: fix parity and stopbit generation 2015-12-21 17:51:43 +01:00
ucg.c fix parameter access for ucg.getStrWidth() 2015-12-28 15:22:09 +01:00
wifi.c Merge pull request #878 from dnc40085/dev_wifi_sta_Xethostname 2016-01-15 08:56:37 +00:00
ws2801.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
ws2812.c ws2812 data buffer 2016-01-18 17:21:08 +01:00