From f3bd3c0c9030924af7f16556b8c2ec7e2d05652c Mon Sep 17 00:00:00 2001 From: Lomanic Date: Sat, 21 Sep 2019 18:23:39 +0000 Subject: [PATCH] Make the LED blink as a hello world --- main.ino | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main.ino diff --git a/main.ino b/main.ino new file mode 100644 index 0000000..c79aa21 --- /dev/null +++ b/main.ino @@ -0,0 +1,25 @@ +#define RELAY_PIN 12 +#define LED_PIN 13 + +void setup() { + Serial.begin(115200); + + Serial.println("START"); + + pinMode(LED_PIN, OUTPUT); + +} + +void loop() { + + digitalWrite(LED_PIN, HIGH); + + delay(1000); + + digitalWrite(LED_PIN, LOW); + + delay(1000); + + Serial.println("LED"); + +}