Commit Graph

6 Commits

Author SHA1 Message Date
Konrad Hübner 500bbceded added fadeIn, faceOut and shift to ws2812 module (#1343)
* added fadeIn, faceOut and shift to ws2812 module

* improvements to rotate, unified fade method

shift renamed to rotate and usage of more efficient memory operations.
fadeIn and fadeOut unified into fade method with optional parameter for direction.

* rename method to "shift" with optional mode parameter
2016-06-10 22:23:37 +02:00
Thomas Soëte 0577c8af0f Finalize work on ws2812 module
* Fix bug on first write
	Pin is 'HIGH' at reset, so we need to pull it down and generate a
	reset.

* Move init code to flash section, not needed to be in iram.

* Remove pin choice in API

* Remove lock in ws2812_buffer_write

* Remove naked malloc

* Drop ws2812_writergb

* Drop support of ws2812.buffers to ws2812_writegrb should use ws2812.buffers:write

* Add support for <>3 colors per leds strips (RGBW)

* Remove ICACHE_FLASH_ATTR

* Add static const on _uartData to avoid initialization penalty
2016-05-09 07:21:50 +02:00
Falk Kühnel 3f418f995c changed documentation for ws2812 module, which only works for pin GPIO2 at the moment (#1235) 2016-04-11 22:12:02 +02:00
Marcel Stör 202cc1a12a Add meta-info block to every module doc page 2016-03-06 08:56:28 +01:00
devsaurus 762e803fdb fix br 2016-01-11 23:57:42 +01:00
devsaurus 75580f5dda transferred ws2812 module documentation 2016-01-11 22:36:25 +01:00