added /readwifi and /readvalues

changed holding values in ram after sending to laserspiro
This commit is contained in:
FrYakaTKoP
2017-10-09 21:35:06 +02:00
parent fff9ad04d4
commit 2e3dabf88b
3 changed files with 44 additions and 11 deletions

View File

@@ -2,16 +2,18 @@
Wifi Host for the Arduino-Laser-Spirograph
#usage:
/motor/{motorNr}/{value}
/laser/{value}
/ssid/{ssidname}
/pwd/{password}
/apmode/1 -> SofAP (default), 0 -> client
/saveconf -> write wificonfig to file
/resetwifi -> reconnect wifi with the new settings (this will work)
/motor/{motorNr}/{value}
/laser/{value}
/ssid/{ssidname}
/pwd/{password}
/apmode/1 -> SofAP (default), 0 -> client
/saveconf -> write wificonfig to file
/resetwifi -> reconnect wifi with the new settings
/readwifi -> returns wifi settings
/readvalues -> return laser and motor values
#install
- install arduino ide (1.8.5)
- install arduino ide (1.8.5)
- follow this instruction
https://github.com/esp8266/Arduino#installing-with-boards-manager