123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /*
- ESP_UKI
- TODO : better function organizing
- add firmware number in webserver
- send ADC to default IP via udp, allow configuration
- build onDemand config mode
- load/save parameters (fixed ip, uki_name, udp_port udp_ip
- */
- #include "includes.h" //headers and variables declaration
- void setup ( void ) {
-
- delay(500) ;
- Serial.begin(115200);
- Serial.println("Starting ESP8266");
- setupLeds();
-
- setupWifi();
- setupUDP() ;
-
- //setupOTA();
-
- blueLedState(-1, 500);
-
-
- }
- void loop ( void ) {
- //Serial.println(WiFi.status());
- StartConfigAP();
- //checkOTA();
- UDP_send_receive();
-
- }
|