This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <SPI.h>
|
||||
#include <SD.h>
|
||||
#include <Ethernet.h>
|
||||
#define OTETHERNET
|
||||
#include <ArduinoOTA.h>
|
||||
|
||||
// Enter a MAC address for your controller below.
|
||||
|
||||
@@ -16,10 +16,12 @@
|
||||
by Juraj Andrassy
|
||||
*/
|
||||
|
||||
#include <ArduinoOTA.h> // only for InternalStorage
|
||||
#include <Ethernet.h>
|
||||
#include <ArduinoHttpClient.h>
|
||||
|
||||
#define NO_OTA_NETWORK
|
||||
#include <ArduinoOTA.h> // only for InternalStorage
|
||||
|
||||
const short VERSION = 1;
|
||||
|
||||
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <SPI.h>
|
||||
#include <Ethernet.h>
|
||||
#define OTETHERNET
|
||||
#include <ArduinoOTA.h>
|
||||
|
||||
//#define Serial SerialUSB
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <SPI.h>
|
||||
#include <SD.h>
|
||||
#include <Ethernet.h>
|
||||
#define OTETHERNET
|
||||
#include <ArduinoOTA.h>
|
||||
#include <SDU.h>
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/*
|
||||
|
||||
This example polls for sketch updates over WiFi module on Serial1,
|
||||
sketches can be updated by selecting a network port from within
|
||||
the Arduino IDE: Tools -> Port -> Network Ports ...
|
||||
This example polls for sketch updates over WiFi module on Serial1.
|
||||
|
||||
created 13 July 2010
|
||||
by dlf (Metodo2 srl)
|
||||
@@ -16,6 +14,16 @@
|
||||
|
||||
#include <WiFiEspAT.h>
|
||||
#include <ArduinoOTA.h>
|
||||
#include <SoftwareSerial.h>
|
||||
|
||||
// Emulate Serial1 on pins 6/7 if not present
|
||||
#if defined(ARDUINO_ARCH_AVR) && !defined(HAVE_HWSERIAL1)
|
||||
#include <SoftwareSerial.h>
|
||||
SoftwareSerial Serial1(6, 7); // RX, TX
|
||||
#define AT_BAUD_RATE 9600
|
||||
#else
|
||||
#define AT_BAUD_RATE 115200
|
||||
#endif
|
||||
|
||||
void setup() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user