Skip to content

Commit

Permalink
Reduce led brightness somewhat
Browse files Browse the repository at this point in the history
  • Loading branch information
harbaum committed Aug 31, 2024
1 parent a875500 commit 4569658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rp2040/mcu_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ void vApplicationTickHook( void ) { }
#ifdef WS2812_PIN
static void led_timer(__attribute__((unused)) TimerHandle_t pxTimer) {
static char state = 0;
pio_sm_put_blocking(pio0, 0, state?0xff000000:0x00000000); // GRBX
pio_sm_put_blocking(pio0, 0, state?0x40000000:0x00000000); // GRBX
state = !state;
}
#else
Expand Down

0 comments on commit 4569658

Please sign in to comment.