From 4d4902069a7646f8e385beca7b96da50d9ff02ea Mon Sep 17 00:00:00 2001 From: gyengus Date: Sun, 10 Dec 2023 18:18:16 +0100 Subject: [PATCH] Setting up RGB LED for M5 StampS3 device --- platformio.ini | 1 + src/drivers/devices/m5StampS3.h | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index 318b84e..848a1bf 100644 --- a/platformio.ini +++ b/platformio.ini @@ -372,6 +372,7 @@ lib_deps = https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2 mathertel/OneButton @ ^2.0.3 arduino-libraries/NTPClient + https://github.com/FastLED/FastLED lib_ignore = TFT_eSPI SD diff --git a/src/drivers/devices/m5StampS3.h b/src/drivers/devices/m5StampS3.h index a7c4134..fd09fca 100644 --- a/src/drivers/devices/m5StampS3.h +++ b/src/drivers/devices/m5StampS3.h @@ -2,8 +2,9 @@ #define _M5_STAMP_S3_H #define PIN_BUTTON_1 0 -#define LED_PIN 9 +#define RGB_LED_PIN 21 -#define NO_DISPLAY +#define LED_DISPLAY +#define USE_LED -#endif \ No newline at end of file +#endif