Dim the neopixel status LED through the brightness control.
This commit is contained in:
parent
4cc2cf0e8f
commit
a5220010f2
@ -12,14 +12,15 @@
|
||||
#include "rgb_led_status.h"
|
||||
#include "samd21_pins.h"
|
||||
|
||||
uint8_t rgb_status_brightness = 255;
|
||||
#ifdef MICROPY_HW_NEOPIXEL
|
||||
uint8_t rgb_status_brightness = 63;
|
||||
static uint8_t status_neopixel_color[3];
|
||||
static digitalio_digitalinout_obj_t status_neopixel;
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(MICROPY_HW_APA102_MOSI) && defined(MICROPY_HW_APA102_SCK)
|
||||
uint8_t rgb_status_brightness = 255;
|
||||
static uint8_t status_apa102_color[12] = {0, 0, 0, 0, 0xff, 0, 0, 0};
|
||||
#ifdef CIRCUITPY_BITBANG_APA102
|
||||
static bitbangio_spi_obj_t status_apa102;
|
||||
|
Loading…
x
Reference in New Issue
Block a user