diff --git a/src/web/AmsWebServer.cpp b/src/web/AmsWebServer.cpp index bf5f2652..e44a8248 100644 --- a/src/web/AmsWebServer.cpp +++ b/src/web/AmsWebServer.cpp @@ -1040,6 +1040,16 @@ void AmsWebServer::handleSetup() { gpioConfig->vccResistorGnd = 22; gpioConfig->vccResistorVcc = 33; break; + case 6: // Pow-P1 + gpioConfig->hanPin = 18; + 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; @@ -1080,6 +1090,7 @@ void AmsWebServer::handleSetup() { gpioConfig->hanPin = 18; gpioConfig->ledPin = 15; gpioConfig->ledInverted = false; + gpioConfig->apPin = 0; break; } diff --git a/web/setup.html b/web/setup.html index d8028281..65846332 100644 --- a/web/setup.html +++ b/web/setup.html @@ -23,11 +23,13 @@
Hardware
- + - - - + + + +