add Ethernet

This commit is contained in:
proddy
2021-01-18 19:38:22 +01:00
parent b81435e713
commit 44045ae658
60 changed files with 905 additions and 973 deletions

View File

@@ -53,10 +53,10 @@ int digitalRead(uint8_t pin);
#define PROGMEM
#define PGM_P const char *
#define PSTR(s) \
(__extension__({ \
static const char __c[] = (s); \
&__c[0]; \
#define PSTR(s) \
(__extension__({ \
static const char __c[] = (s); \
&__c[0]; \
}))
class __FlashStringHelper;
@@ -193,7 +193,11 @@ class NativeConsole : public Stream {
unsigned char peek_data_;
};
#include <Network.h>
extern NativeConsole Serial;
extern ETHClass ETH;
extern WiFiClass WiFi;
unsigned long millis();