change neopixel color
This commit is contained in:
@ -158,7 +158,7 @@ void usb_teardown(void)
|
||||
void tud_mount_cb(void)
|
||||
{
|
||||
#ifdef LED_NEOPIXEL
|
||||
uint8_t grb[3] = { 255, 0, 0 };
|
||||
uint8_t grb[3] = { 32, 0, 0 };
|
||||
neopixel_write(grb);
|
||||
#endif
|
||||
}
|
||||
@ -166,7 +166,7 @@ void tud_mount_cb(void)
|
||||
void tud_umount_cb(void)
|
||||
{
|
||||
#ifdef LED_NEOPIXEL
|
||||
uint8_t grb[3] = { 0, 255, 0 };
|
||||
uint8_t grb[3] = { 0, 32, 0 };
|
||||
neopixel_write(grb);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user