- 18 Jan, 2016 2 commits
-
-
Thomas Soëte authored
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);
-
Thomas Soëte authored
It allows keeping interrupts enabled but force to use GPIO2.
-
- 16 Dec, 2015 1 commit
-
-
Johny Mattsson authored
Module creation & registration now made a lot simpler. In essence, each module file is now self-contained and only needs a NODEMCU_MODULE(MYNAME, "myname", myname_map, luaopen_myname); line to both be automatically recognised by the Lua initialization as well as honor the LUA_USE_MODULES_MYNAME #define.
-
- 12 Dec, 2015 1 commit
-
-
Johny Mattsson authored
As per #810 & #796, only LUA_OPTIMIZE_MEMORY=2 & MIN_OPT_LEVEL=2 are supported when building. This commit effects that limitation. With this change modules/auxmods.h no longer needs to be updated for every new module, nor do module writers need to cater for a hypothetical LUA_OPTIMIZE_MEMORY < 2 scenario.
-
- 10 Nov, 2015 1 commit
-
-
Thomas Soëte authored
Values measured: @80MHz: T0H: 337ns, Period: 1.274us T1H: 687ns, Period: 1.25us @160MHz: T0H: 349ns, Period: 1.262us T1H: 700ns, Period: 1.276us
-
- 08 Nov, 2015 1 commit
-
-
Thomas Soëte authored
-
- 12 Oct, 2015 1 commit
-
-
Johny Mattsson authored
The os_intr_xxx macros no longer exist in the SDK.
-
- 12 Jul, 2015 1 commit
-
-
Konrad Beckmann authored
- Fixes the "first led problem" (#534 #487). - Adds support for 160MHz mode. - Optimized timings. Time to write pixels is reduced by about 25% This is useful when having a large amount of chained LEDs (>500).
-
- 19 Jun, 2015 2 commits
- 26 May, 2015 1 commit
-
-
makefu authored
Add the original ws2812.write() function which does not scramble the buffer while preserving the 'new' ws2812.writergb. With this everybody should be happy again
-
- 05 Apr, 2015 1 commit
-
-
Wolfram Ladurner authored
Don't modify Lua-internal lstring - use a copy instead.
-
- 03 Mar, 2015 1 commit
-
-
Markus Gritsch authored
There seems to be interest in using the more intuitive RGB byte order to specify the LED color. Also fixed the documentation.
-
- 07 Feb, 2015 1 commit
-
-
Till Klocke authored
-
- 05 Feb, 2015 3 commits
-
-
Till Klocke authored
-
Till Klocke authored
-
Till Klocke authored
-