diff options
author | Drashna Jaelre <drashna@live.com> | 2019-11-09 07:51:39 -0800 |
---|---|---|
committer | Joel Challis <git@zvecr.com> | 2019-11-09 15:51:39 +0000 |
commit | 60e4921378d879eed110f801328e9642f35fa1e9 (patch) | |
tree | 9bb36017ba58e7aedbcfee9db0bba1a3bc466359 /drivers/avr/ws2812.h | |
parent | 78205e64a7053746b1491c0d39dbb300a55f3248 (diff) |
Unify RGB and RGBW commands (#7297)
* Fix unicode in comments
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Remove separate RGBW implementation for a unified function
* Set White to 0 in RGBW LEDs
This is just to get this working, later, proper brightness can be handled elsewhere.
* Use us instead of nanoseconds(?) since it renders correctly on web
* Remove RGBW function from arm/ws2812.h
* Remove RGBW function from arm/ws2812.c
* Formatting changes
* Add doc info
Diffstat (limited to 'drivers/avr/ws2812.h')
-rw-r--r-- | drivers/avr/ws2812.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/avr/ws2812.h b/drivers/avr/ws2812.h index 9652b94bbe..b869fb28c8 100644 --- a/drivers/avr/ws2812.h +++ b/drivers/avr/ws2812.h @@ -34,8 +34,7 @@ * The functions will perform the following actions: * - Set the data-out pin as output * - Send out the LED data - * - Wait 50�s to reset the LEDs + * - Wait 50us to reset the LEDs */ void ws2812_setleds(LED_TYPE *ledarray, uint16_t number_of_leds); void ws2812_setleds_pin(LED_TYPE *ledarray, uint16_t number_of_leds, uint8_t pinmask); -void ws2812_setleds_rgbw(LED_TYPE *ledarray, uint16_t number_of_leds); |