|
|
|
@ -6,7 +6,7 @@ |
|
|
|
|
const char* WIFI_SSID = "Protospace"; |
|
|
|
|
const char* WIFI_PASS = "yycmakers"; |
|
|
|
|
char wifiMACAddr[18]; |
|
|
|
|
const String API_ROUTE = String("http://tools.protospace.ca:8080/api/lockout/"); |
|
|
|
|
const String API_ROUTE = String("http://tools-api.tannercollin.com/api/lockout/"); |
|
|
|
|
|
|
|
|
|
#define RELAY_PIN D1 |
|
|
|
|
#define ON_BUTTON_PIN D3 |
|
|
|
@ -15,7 +15,7 @@ const String API_ROUTE = String("http://tools.protospace.ca:8080/api/lockout/"); |
|
|
|
|
#define ON_LED_PIN D6 |
|
|
|
|
#define OFF_LED_PIN D7 |
|
|
|
|
|
|
|
|
|
#define RELAY_CLOSED LOW |
|
|
|
|
#define RELAY_CLOSED HIGH |
|
|
|
|
#define RELAY_OPEN !RELAY_CLOSED |
|
|
|
|
#define BUTTON_CLOSED LOW |
|
|
|
|
#define BUTTON_OPEN !BUTTON_CLOSED |
|
|
|
|