1
0
Fork 0
This commit is contained in:
Joel Challis 2021-07-31 14:35:30 +01:00 committed by GitHub
parent 206a995ccd
commit 70fb3e1aaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 95 additions and 92 deletions

View file

@ -18,6 +18,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "progmem.h"
#include "gpio.h"
typedef struct aw_led {
@ -27,7 +28,7 @@ typedef struct aw_led {
uint8_t b;
} aw_led;
extern const aw_led g_aw_leds[DRIVER_LED_TOTAL];
extern const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL];
void AW20216_init(pin_t cs_pin, pin_t en_pin);
void AW20216_set_color(int index, uint8_t red, uint8_t green, uint8_t blue);