From 70ee869b66f7739cd965180b58ebd4ee2e583696 Mon Sep 17 00:00:00 2001 From: DelusionalAI <59485008+DelusionalAI@users.noreply.github.com> Date: Thu, 3 Nov 2022 11:29:28 -0500 Subject: [PATCH] Update relay logic to match Tasmota and Factory Configuration --- components/ifan/ifan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ifan/ifan.cpp b/components/ifan/ifan.cpp index 7baa3374..3e8b4974 100644 --- a/components/ifan/ifan.cpp +++ b/components/ifan/ifan.cpp @@ -80,13 +80,13 @@ void IFan::set_low() { beep(); } void IFan::set_med() { - digitalWrite(relay_1, LOW); + digitalWrite(relay_1, HIGH); digitalWrite(relay_2, HIGH); digitalWrite(relay_3, LOW); beep(2); } void IFan::set_high() { - digitalWrite(relay_1, LOW); + digitalWrite(relay_1, HIGH); digitalWrite(relay_2, LOW); digitalWrite(relay_3, HIGH);