![]() ![]() WiFiWebClient_by_wifispiesp.ino (4.23 KB)Īrduino : 1.8.5 (Windows XP), Carte : "Arduino/Genuino Uno" To enabled OTA AVR ISP, uncomment the #define OTA_AVRISP in WiFiSPIESP.ino before uploading the firmware. While (WiFiSpi.status() != WL_CONNECTED) // attempt to connect to Wifi network:ĭelay(5000) // wait 5 seconds for connection:įor OTA upload from the IDE, change the key _pattern in hardware/arduino/avr/platform.txt in Arduino IDE installation folder to ![]() => below, the concerned part of the sketch Only wait while WiFiSpi.status() != WL_CONNECTED. With WiFi Manager active, do not use WiFiSpi.begin() in the AVR sketch. WiFiManager library is used to handle the connection. =>i made the connection from D2 to a shifter to UNOįor OTA AVR ISP the esp8266 must be connected to network from start. ![]() Default in the firmware source code is pin 4 (labeled D2 on NodeMCU and Wemos boards). OTA AVR ISP requires a connection from esp8266 pin to AVR reset pin. =>I uncomment the #define OTA_AVRISP in WiFiSPIESP.ino If enabled, the WiFi SPI firmware can upload a sketch over WiFi to attached AVR microcontroller. OTA upload does not work ! where is my error ? my new sketch without wifispi.begin is attached. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |