Last active
May 11, 2019 10:26
-
-
Save alistairjevans/96023f041265a8d461cdcf838b615e29 to your computer and use it in GitHub Desktop.
Hello World for Arduino
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
void setup() | |
{ | |
// Initialise my serial port with 9600 baud | |
Serial.begin(9600); | |
} | |
void loop() | |
{ | |
// Wait a second | |
delay(1000); | |
// Write "Hello World!" to my serial port. | |
Serial.println("Hello World!"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment