From d65ebb18776f53e85f35ef83418c73ec53375064 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 11 Sep 2018 20:45:20 -0600 Subject: [PATCH] Change API url to tools-api.tannercollin.com --- firmware/firmware.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/firmware.ino b/firmware/firmware.ino index f5f6fb2..54465d6 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -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