From 646dbe4d62b69cc48eeb4ae0c09f0e639ae11d96 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Thu, 3 Nov 2022 18:32:51 +0100 Subject: [PATCH] Update README file in WS2812 ledstrip example according to driver changes. --- ledstrip/README | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.43.0