Skip to content

Commit

Permalink
led
Browse files Browse the repository at this point in the history
  • Loading branch information
bullwinkle3000 committed Dec 19, 2024
1 parent 7701f83 commit c155f1b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
26 changes: 13 additions & 13 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions config/boards/nice_nano_v2.overlay
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//#include <dt-bindings/led/led.h>
#include <dt-bindings/led/led.h>

&pinctrl {
spi3_default: spi3_default {
Expand Down Expand Up @@ -49,12 +49,12 @@
spi-max-frequency = <4000000>;

/* WS2812 */
chain-length = <88>; /* number of LEDs */
chain-length = <40>; /* number of LEDs */
spi-one-frame = <0x70>;
spi-zero-frame = <0x40>;
color-mapping = <LED_COLOR_ID_GREEN
LED_COLOR_ID_RED
LED_COLOR_ID_BLUE>;
LED_COLOR_ID_RED
LED_COLOR_ID_BLUE>;
};
};

Expand Down

0 comments on commit c155f1b

Please sign in to comment.