Skip to content

Latest commit

 

History

History

MyOTA

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

MyOTA

Macro functions for using ESP8266 OTA (Over the Air) Update, including my usual setting of OTA

Example and Usage

#include <MyOTA.h>

setup() {
  ... establish WiFi connection ...
  setupMyOTA();
  ..
}

loop() {
  loopMyOTA();
  ....
}
  • setupMyOTA() should be called once, after WiFi connection is established.
  • loopMyOTA() must be called after setupMyOTA() is called. It should be called repeatedly in short interval, to avoid losing OTA accesses.