Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Multi_WS2811 by
Diff: WS2811.h
- Revision:
- 6:3b5b8a367f40
- Parent:
- 5:7e40afd8d533
- Child:
- 7:58623ad7f310
diff -r 7e40afd8d533 -r 3b5b8a367f40 WS2811.h
--- a/WS2811.h Wed Apr 02 11:57:56 2014 +0000
+++ b/WS2811.h Wed Apr 02 12:16:42 2014 +0000
@@ -33,6 +33,22 @@
* WS2811/WS2812/WS2812B
* LED Strip controller\n
* For FRDM-KL25Z and FRDM-KL46Z
+
+ RAM usage:\n
+ Per individual LED: 3 bytes (malloc'd) for RGB data
+
+ Strip length per LED:\n
+ 24 bytes (static) for bit data\n
+ + 24 bytes (static) for ones data\n
+ = 48 bytes
+
+ 240 LEDs max per string = 11,520 bytes static
+
+ One string:\n
+ 240 LEDs : 11520 + 240*3 = 12,240 bytes
+
+ Eight strings:\n
+ 240*8 LEDs: 11520 + (240*3) * 8 = 17,280 bytes
*/
class WS2811 : public LedStrip
{
