File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 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+ ```
You can’t perform that action at this time.
0 commit comments