From 6b85380447110427e9f090e7e32acba8906474f5 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sun, 25 Feb 2024 14:03:21 +0700 Subject: [PATCH] turn PC on at boot --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index e0e1147..fba7ebe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -108,6 +108,8 @@ void setup() { espmega.outputs.setValue(i, 4095); } + espmega.outputs.setState(12, true); + espmega.outputs.setValue(12,4095); espmega.installCard(2, &climateCard); climateCard.bindFRAM(&espmega.fram, 5000); climateCard.loadStateFromFRAM();