This commit is contained in:
topicchi
2024-09-24 16:54:39 +00:00
parent e3ca99e4db
commit c7a68c0205
332 changed files with 6098 additions and 4139 deletions

View File

@@ -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.

View File

@@ -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 };

View File

@@ -19,6 +19,7 @@
#include <SPI.h>
#include <Ethernet.h>
#define OTETHERNET
#include <ArduinoOTA.h>
//#define Serial SerialUSB

View File

@@ -20,6 +20,7 @@
#include <SPI.h>
#include <SD.h>
#include <Ethernet.h>
#define OTETHERNET
#include <ArduinoOTA.h>
#include <SDU.h>

View File

@@ -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() {