-
Notifications
You must be signed in to change notification settings - Fork 0
webServer()
f4cib edited this page Mar 21, 2021
·
1 revision
- request string & check if the command was "Set" or "Get" if isTxMode is false, that means we are on Rx (either inRxModeSet or inTxModeSet, we don't care), this is to prevent any hot switch
- call getStringPartByNr() to parse the 8 bits of the 3 function arrays (0:Rx ; 1:Tx ; 2:Beverage)
- set inTxEditMode with false for Rx & Bev, true for Tx
- call switchArrow() with true or false
- call writeToTheRegister() with registersTx, registersRx or registersBev and the 8 corresponding bits returned by client
- call setDisplayAndRelays() with true or false or setDisplayAndRelays() for Beverage
- loop()