From 2aa0f2df178d48703b4e9f91941f229bf7d1f78e Mon Sep 17 00:00:00 2001 From: OrionStark Date: Wed, 12 Aug 2020 21:38:16 +0700 Subject: [PATCH] Add pin mode --- OrionWebServerControllerScript.ino | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OrionWebServerControllerScript.ino b/OrionWebServerControllerScript.ino index 10c82e2..761818f 100644 --- a/OrionWebServerControllerScript.ino +++ b/OrionWebServerControllerScript.ino @@ -22,7 +22,7 @@ #include #define BLUE_LED_PIN 12 -#define RED_LED_PIN 15 +#define RED_LED_PIN 13 #define GREEN_LED_PIN 14 const char* ssid = "Robby"; @@ -40,6 +40,10 @@ void setup() { Serial.begin(115200); WiFi.begin(ssid, password); + pinMode(BLUE_LED_PIN, OUTPUT); + pinMode(GREEN_LED_PIN, OUTPUT); + pinMode(RED_LED_PIN, OUTPUT); + /* Starting initial led start up */ digitalWrite(GREEN_LED_PIN, HIGH); delay(700);