Skip to content

Commit

Permalink
WIP: Local LED changes for my testing
Browse files Browse the repository at this point in the history
  • Loading branch information
d3zd3z committed Jan 11, 2025
1 parent a5c91e8 commit 72dbbef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
/* Default I2S config for the nRF5340, P1.13 is the output */
psels = <NRF_PSEL(I2S_SCK_M, 1, 15)>,
<NRF_PSEL(I2S_LRCK_M, 1, 12)>,
<NRF_PSEL(I2S_SDOUT, 1, 13)>,
/* <NRF_PSEL(I2S_SDOUT, 1, 13)>, */
<NRF_PSEL(I2S_SDOUT, 1, 6)>,
<NRF_PSEL(I2S_SDIN, 1, 14)>;
};
};
Expand All @@ -21,7 +22,7 @@ i2s_led: &i2s0 {
compatible = "worldsemi,ws2812-i2s";

reg = <0>;
chain-length = <42>; /* arbitrary; change at will */
chain-length = <2>; /* arbitrary; change at will */
color-mapping = <LED_COLOR_ID_GREEN
LED_COLOR_ID_RED
LED_COLOR_ID_BLUE>;
Expand Down
2 changes: 2 additions & 0 deletions samples/drivers/led/led_strip/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CONFIG_LOG=y
CONFIG_LED_STRIP=y
CONFIG_LED_STRIP_LOG_LEVEL_DBG=y

CONFIG_DEBUG=y

0 comments on commit 72dbbef

Please sign in to comment.