Skip to content

Commit

Permalink
Merge pull request #264 from gyengus/m5stamps3-rgb-led
Browse files Browse the repository at this point in the history
Setting up RGB LED for M5 StampS3 device
  • Loading branch information
BitMaker-hub authored Dec 30, 2023
2 parents 0c62b62 + 4d49020 commit a36f881
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,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
Expand Down
7 changes: 4 additions & 3 deletions src/drivers/devices/m5StampS3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
#endif

0 comments on commit a36f881

Please sign in to comment.