From a64f960cc7cba3fcf22db69f1f7261d2c0001b75 Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Wed, 12 Oct 2022 19:30:00 +0200 Subject: [PATCH] Added Pow-U+ profile --- src/web/AmsWebServer.cpp | 10 ++++++++++ web/setup.html | 1 + 2 files changed, 11 insertions(+) diff --git a/src/web/AmsWebServer.cpp b/src/web/AmsWebServer.cpp index fa510cbc..e7e6047d 100644 --- a/src/web/AmsWebServer.cpp +++ b/src/web/AmsWebServer.cpp @@ -1077,6 +1077,16 @@ void AmsWebServer::handleSetup() { gpioConfig->vccResistorGnd = 22; gpioConfig->vccResistorVcc = 33; break; + case 7: // Pow-U+ + gpioConfig->hanPin = 16; + gpioConfig->apPin = 0; + gpioConfig->ledPinRed = 13; + gpioConfig->ledPinGreen = 14; + gpioConfig->ledRgbInverted = true; + gpioConfig->vccPin = 10; + gpioConfig->vccResistorGnd = 22; + gpioConfig->vccResistorVcc = 33; + break; case 101: // D1 gpioConfig->hanPin = 5; gpioConfig->apPin = 4; diff --git a/web/setup.html b/web/setup.html index 65846332..87d047f9 100644 --- a/web/setup.html +++ b/web/setup.html @@ -26,6 +26,7 @@