This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdefines.h
43 lines (31 loc) · 1.45 KB
/
defines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/****************************************************************************************************************************
defines.h
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
*****************************************************************************************************************************/
#ifndef defines_h
#define defines_h
#define DEBUG_ETHERNET_WEBSERVER_PORT Serial
#define NTP_DBG_PORT Serial
// Debug Level from 0 to 4
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 0
#define _NTP_LOGLEVEL_ 0
#include <WebServer_WT32_ETH01.h>
// Select the IP address according to your local network
IPAddress myIP(192, 168, 2, 232);
IPAddress myGW(192, 168, 2, 1);
IPAddress mySN(255, 255, 255, 0);
// Google DNS Server IP
IPAddress myDNS(8, 8, 8, 8);
#endif //defines_h