Created
June 16, 2024 17:49
-
-
Save SourLemonJuice/26b932b2d5af5b60f08ea81e419a46c9 to your computer and use it in GitHub Desktop.
Some simple Arduino LED blink cpp code.
This file contains hidden or 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> | |
| void setup() | |
| { | |
| // put your setup code here, to run once: | |
| pinMode(LED_BUILTIN, OUTPUT); | |
| } | |
| void loop() | |
| { | |
| // put your main code here, to run repeatedly: | |
| digitalWrite(LED_BUILTIN, HIGH); | |
| delay(300); | |
| digitalWrite(LED_BUILTIN, LOW); | |
| delay(300); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment