Skip to content

Commit 819ad9c

Browse files
authored
Update README.md
1 parent ba71c8e commit 819ad9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
--------------------------------------------------------------------------------
88
* http://github.com/nimaltd/ws281x
99
-----------------------------------------------------------
10+
* This library using HEAP memory. If could not init, increase your HEAP size. (35 byte per pixel)
1011
* Enable SPI and DMA.
11-
* Set MSB and 3.3MHz of speed.
12+
* Set MSB with 3.3MHz of speed.
1213
* Create a struct.
1314
* Call Init.
1415
* Don't forget to use ws281x_update after set pixels.
@@ -23,7 +24,7 @@ int main()
2324
{
2425
...
2526
}
26-
27+
// 216 * 35 = 7560 bytes heap usage
2728
void task_other(void const * argument)
2829
{
2930
ws281x_init(&pixel, &hspi1, 216, ws281x_order_grb);

0 commit comments

Comments
 (0)