From d088163d3d73b0ae670d2c508d8edf5893b38699 Mon Sep 17 00:00:00 2001 From: Timm Bogner <64260873+timmbogner@users.noreply.github.com> Date: Sat, 19 Nov 2022 19:59:42 -0600 Subject: [PATCH] misc --- .../Single_Channel_Relay/Single_Channel_Relay.ino | 4 ++-- .../Sensor_Examples/LilyGo_HiGrow_32/fdrs_sensor_config.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Controller_examples/Single_Channel_Relay/Single_Channel_Relay.ino b/examples/Controller_examples/Single_Channel_Relay/Single_Channel_Relay.ino index 210ea76..1984d55 100644 --- a/examples/Controller_examples/Single_Channel_Relay/Single_Channel_Relay.ino +++ b/examples/Controller_examples/Single_Channel_Relay/Single_Channel_Relay.ino @@ -17,6 +17,6 @@ void setup() { pinMode(COIL_PIN, OUTPUT); } void loop() { - if (status) digitalWrite(COIL_PIN, LOW); - else digitalWrite(COIL_PIN, HIGH); + if (status) digitalWrite(COIL_PIN, HIGH); + else digitalWrite(COIL_PIN, LOW); } \ No newline at end of file diff --git a/examples/Sensor_Examples/LilyGo_HiGrow_32/fdrs_sensor_config.h b/examples/Sensor_Examples/LilyGo_HiGrow_32/fdrs_sensor_config.h index deef3b9..8874731 100644 --- a/examples/Sensor_Examples/LilyGo_HiGrow_32/fdrs_sensor_config.h +++ b/examples/Sensor_Examples/LilyGo_HiGrow_32/fdrs_sensor_config.h @@ -10,7 +10,7 @@ #define USE_ESPNOW //#define USE_LORA #define DEEP_SLEEP -//#define POWER_CTRL 14 +#define POWER_CTRL 4 #define FDRS_DEBUG //SPI Configuration -- Needed only on chipsets with multiple SPI interfaces (ESP32)