mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Small changes
This commit is contained in:
parent
94c67eb29e
commit
bfc6a0f7b7
@ -11,7 +11,7 @@ This project is a re-implementation of the popular HASwitchPlate sketch created
|
|||||||
The [original HASwitchPlate][1] project uses a Wemos D1 mini and requires a Nextion/TJC HMI display.
|
The [original HASwitchPlate][1] project uses a Wemos D1 mini and requires a Nextion/TJC HMI display.
|
||||||
This rewrite removes the Nextion/TJC requirement by using the [Littlev Graphics Library][2] on the MCU to drive a cheap commodity display.
|
This rewrite removes the Nextion/TJC requirement by using the [Littlev Graphics Library][2] on the MCU to drive a cheap commodity display.
|
||||||
|
|
||||||
This version also adds ESP32 and STM32 support to take advantage of the additional hardware capabilities.
|
This version also adds ESP32 and STM32F4 support to take advantage of the additional hardware capabilities.
|
||||||
|
|
||||||
|
|
||||||
## Demo Screens
|
## Demo Screens
|
||||||
|
@ -1370,8 +1370,13 @@ void webHandleGpioOptions()
|
|||||||
httpMessage += F("</select></p>");
|
httpMessage += F("</select></p>");
|
||||||
|
|
||||||
httpMessage += F("<p><b>Group</b> <select id='group' name='group'>");
|
httpMessage += F("<p><b>Group</b> <select id='group' name='group'>");
|
||||||
for(int i = 0; i < 15; i++) {
|
httpMessage += getOption(0, F("None"), conf.group == 0);
|
||||||
httpMessage += getOption(i, "Group " + String(i), i == conf.group);
|
String group((char *)0);
|
||||||
|
group.reserve(10);
|
||||||
|
for(int i = 1; i < 15; i++) {
|
||||||
|
group = F("Group ");
|
||||||
|
group += i;
|
||||||
|
httpMessage += getOption(i, group, conf.group == i);
|
||||||
}
|
}
|
||||||
httpMessage += F("</select></p>");
|
httpMessage += F("</select></p>");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user