mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-27 04:37:35 +00:00
Add devkit boards
This commit is contained in:
@@ -56,6 +56,14 @@ SoftwareSerial *hanSerial = new SoftwareSerial(D1);
|
||||
|
||||
HardwareSerial *hanSerial = &Serial2;
|
||||
|
||||
// Build settings for AZ-Delivery ESP-32 DevKitC V4 and DOIT DevKit V1
|
||||
#elif defined(ARDUINO_ESP32_DEV)
|
||||
#define LED_PIN 2 // external 2 for V4 , 2 for doit v1
|
||||
#define LED_ACTIVE_HIGH 1
|
||||
#define AP_BUTTON_PIN 0
|
||||
|
||||
HardwareSerial *hanSerial = &Serial2; // use gpio 16 for rx2
|
||||
|
||||
// Default build for ESP32
|
||||
#elif defined(ESP32)
|
||||
#define LED_PIN INVALID_BUTTON_PIN
|
||||
|
||||
Reference in New Issue
Block a user