RM #610: Code cleanup, mostly related to setting up pair mode and registration so they work properly for multicasting to monitor. Added SPIFFS code to load registration credentials at setup() time, if available. Cleanup moving between modes in loop().
RM #610: Just to verify SPIFFS is now working with latest Arduino distribution and makeEspArduino, added SPIFFS read andwrite routines. These were tested inline first, to make sure SPIFFS really worked (it did) and then moved to genericfunctions for later use.
RM #638, RM #610: Completed support for setting and saving WiFi credentials, then re-using after reset or power cycle.Remove credentials handling - WiFiManager now handles it properly since upgrading Arduino core and makeEspArduino.Remove cruft code used for original testing....
RM #610: Messy code, but it actually does the right thing on all modes: configure mode only saves config, then operational mode uses it to connect again.
RM #610: Add support for building with serial console support or with blue LED support using SERIAL environment variable. Added support for switching to Pair Mode after power up using same button as Config Mode button.
RM #610: First working version with both Config Mode for WiFi and Relay On/Off capabilities.
RM #610: Integrate initial config pin handling into Setup().
General: Disable pin setup until later testing (so the right pins are used). Lots of commentary cleanup.
RM #610: Initial import of the lightsw code. It compiles but hasn't been tested.
Also available in: Atom