8000 Dim the neopixel status LED through the brightness control. · adafruit/circuitpython@a522001 · GitHub
[go: up one dir, main page]

Skip to content

Commit a522001

Browse files
committed
Dim the neopixel status LED through the brightness control.
1 parent 4cc2cf0 commit a522001

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

atmel-samd/rgb_led_status.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
#include "rgb_led_status.h"
1313
#include "samd21_pins.h"
1414

15-
uint8_t rgb_status_brightness = 255;
1615
#ifdef MICROPY_HW_NEOPIXEL
16+
uint8_t rgb_status_brightness = 63;
1717
static uint8_t status_neopixel_color[3];
1818
static digitalio_digitalinout_obj_t status_neopixel;
1919
#endif
2020

2121

2222
#if defined(MICROPY_HW_APA102_MOSI) && defined(MICROPY_HW_APA102_SCK)
23+
uint8_t rgb_status_brightness = 255;
2324
static uint8_t status_apa102_color[12] = {0, 0, 0, 0, 0xff, 0, 0, 0};
2425
#ifdef CIRCUITPY_BITBANG_APA102
2526
static bitbangio_spi_obj_t status_apa102;

0 commit comments

Comments
 (0)
0