From: Nathael Pajani Date: Thu, 3 Nov 2022 17:32:51 +0000 (+0100) Subject: Update README file in WS2812 ledstrip example according to driver changes. X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=646dbe4d62b69cc48eeb4ae0c09f0e639ae11d96;p=soft%2Flpc122x%2Fexamples Update README file in WS2812 ledstrip example according to driver changes. --- diff --git a/ledstrip/README b/ledstrip/README index 14a0a59..2a98c2e 100644 --- a/ledstrip/README +++ b/ledstrip/README @@ -26,8 +26,8 @@ WS2812 external driver development is based on data found in the WS2812.pdf datasheet provided by Adafruit : https://www.adafruit.com/datasheets/WS2812.pdf -The external driver (extdrv/ws2812.[ch]) provides an internal buffer which size -is defined in extdrv/ws2812.h (NB_LEDS) +The external driver (extdrv/ws2812.[ch]) requires an external buffer which size +must be (nb_leds * 3). This buffer is filled using ws2812_set_pixel(), and the led values are sent to the led strip using ws2812_send_frame(). @@ -38,6 +38,8 @@ Leds data is generated by the filling functions either from pre-defined patterns or using ADC samples or UART received data. Not all functions have been implemented yet. -TODO : Implement other functions / modes. +TODO : + - Implement other functions / modes + - Test ws2812fx functions from extdrv/ws2812fx.c