![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Regenerating PPM signal based on distances from ultrasonic sensors, ESP8266 for connectin via wifi. Autonomous quadcopter behaviour, autonomou height holding. Flying direction based on front and back ultrasonic sensors.
Dependencies: ConfigFile HCSR04 PID PPM2 mbed-rtos mbed
Diff: ESP8266/Server.h
- Revision:
- 11:002927b2675d
- Parent:
- 10:bb9c778f8e3e
- Child:
- 14:076ef843e1ba
diff -r bb9c778f8e3e -r 002927b2675d ESP8266/Server.h --- a/ESP8266/Server.h Fri Oct 27 09:29:29 2017 +0000 +++ b/ESP8266/Server.h Fri Oct 27 10:30:06 2017 +0000 @@ -74,9 +74,9 @@ while(1){ if(DataRX==1) { ReadWebData(); + // Save data to configFile + writeSettingsToConfig(); if (servreq == 1 && weberror == 0) { - // Save data to configFile - writeServerSettingsToConfig(); // send HTTP Response sendpage(); }