Skip to content

Commit ba71c8e

Browse files
authored
Create README.md
1 parent 232fe73 commit ba71c8e

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## NMEA library for STM32 LL
2+
* Author: Nima Askari
3+
* WebSite: https://www.github.com/NimaLTD
4+
* Instagram: https://www.instagram.com/github.NimaLTD
5+
* LinkedIn: https://www.linkedin.com/in/NimaLTD
6+
* Youtube: https://www.youtube.com/@nimaltd
7+
--------------------------------------------------------------------------------
8+
* http://github.com/nimaltd/ws281x
9+
-----------------------------------------------------------
10+
* Enable SPI and DMA.
11+
* Set MSB and 3.3MHz of speed.
12+
* Create a struct.
13+
* Call Init.
14+
* Don't forget to use ws281x_update after set pixels.
15+
--------------------------------------------------------------------------------
16+
## RTOS example:
17+
```
18+
#include "ws281x.h"
19+
20+
ws281x_t pixel;
21+
22+
int main()
23+
{
24+
...
25+
}
26+
27+
void task_other(void const * argument)
28+
{
29+
ws281x_init(&pixel, &hspi1, 216, ws281x_order_grb);
30+
ws281x_test_slow(&pixel);
31+
for(;;)
32+
{
33+
osDelay(1);
34+
}
35+
}
36+
```

0 commit comments

Comments
 (0)