Merge pull request #281 from julio-matarranz/fix/m5rgb
fix #264 use mutual esp32rgb.h for m5 stamp
This commit is contained in:
commit
3e0cad9a5a
@ -455,7 +455,8 @@ board_build.partitions = huge_app.csv
|
|||||||
build_flags =
|
build_flags =
|
||||||
-D ARDUINO_USB_MODE=1
|
-D ARDUINO_USB_MODE=1
|
||||||
-D ARDUINO_USB_CDC_ON_BOOT=1
|
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||||
-D M5_STAMP_S3=1
|
-D ESP32RGB=1
|
||||||
|
-D RGB_LED_PIN=21
|
||||||
lib_deps =
|
lib_deps =
|
||||||
bblanchon/ArduinoJson@^6.21.2
|
bblanchon/ArduinoJson@^6.21.2
|
||||||
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#include "lilygoV1TDisplay.h"
|
#include "lilygoV1TDisplay.h"
|
||||||
#elif defined(ESP32_CAM)
|
#elif defined(ESP32_CAM)
|
||||||
#include "esp32CAM.h"
|
#include "esp32CAM.h"
|
||||||
#elif defined(M5_STAMP_S3)
|
|
||||||
#include "m5StampS3.h"
|
|
||||||
#elif defined(ESP32RGB)
|
#elif defined(ESP32RGB)
|
||||||
#include "esp32RGB.h"
|
#include "esp32RGB.h"
|
||||||
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
#ifndef _M5_STAMP_S3_H
|
|
||||||
#define _M5_STAMP_S3_H
|
|
||||||
|
|
||||||
#define PIN_BUTTON_1 0
|
|
||||||
#define RGB_LED_PIN 21
|
|
||||||
|
|
||||||
#define LED_DISPLAY
|
|
||||||
#define USE_LED
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue
Block a user