Last active
December 10, 2018 22:26
-
-
Save loginov-rocks/7f5b4778de4d8a35a2a8f0de3606be0f to your computer and use it in GitHub Desktop.
NodeMCU-Arduino-PlatformIO-Blink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#define LED D0 | |
void setup() | |
{ | |
pinMode(LED, OUTPUT); | |
} | |
void loop() | |
{ | |
digitalWrite(LED, LOW); | |
delay(500); | |
digitalWrite(LED, HIGH); | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment