Added development version identification define
This commit is contained in:
parent
a64e4f17cf
commit
3dc7ebf263
2 changed files with 6 additions and 0 deletions
|
@ -21,3 +21,4 @@
|
||||||
|
|
||||||
#define MY_NTP_SERVER "de.pool.ntp.org"
|
#define MY_NTP_SERVER "de.pool.ntp.org"
|
||||||
|
|
||||||
|
#define DEVELOPMENT
|
||||||
|
|
|
@ -20,7 +20,12 @@
|
||||||
// D1, D2, D7, D5
|
// D1, D2, D7, D5
|
||||||
uint8_t pins[LIGHTS_COUNT] = { 5, 4, 13, 14 };
|
uint8_t pins[LIGHTS_COUNT] = { 5, 4, 13, 14 };
|
||||||
|
|
||||||
|
#ifndef DEVELOPMENT
|
||||||
IPAddress strip_ip (192, 168, 0, 26); // choose an unique IP Adress
|
IPAddress strip_ip (192, 168, 0, 26); // choose an unique IP Adress
|
||||||
|
#endif
|
||||||
|
#ifdef DEVELOPMENT
|
||||||
|
IPAddress strip_ip (192, 168, 0, 27); // choose an unique IP Adress
|
||||||
|
#endif
|
||||||
IPAddress gateway_ip (192, 168, 0, 1); // Router IP
|
IPAddress gateway_ip (192, 168, 0, 1); // Router IP
|
||||||
IPAddress subnet_mask(255, 255, 255, 0);
|
IPAddress subnet_mask(255, 255, 255, 0);
|
||||||
IPAddress dns (192, 168, 0, 1);
|
IPAddress dns (192, 168, 0, 1);
|
||||||
|
|
Loading…
Reference in a new issue