mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 09:49:54 +03:00
esp32 uart and wemos d1-mini32
This commit is contained in:
@@ -63,7 +63,12 @@ class Sensors {
|
||||
const std::vector<Device> devices() const;
|
||||
|
||||
private:
|
||||
#if defined(ESP8266)
|
||||
static constexpr uint8_t SENSOR_GPIO = 14; // D5
|
||||
#elif defined(ESP32)
|
||||
// static constexpr uint8_t SENSOR_GPIO = 14; // same position
|
||||
static constexpr uint8_t SENSOR_GPIO = 18; // for Wemos D1 32
|
||||
#endif
|
||||
|
||||
enum class State { IDLE, READING, SCANNING };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user