Skip to content

Instantly share code, notes, and snippets.

@alistairjevans
Last active May 11, 2019 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alistairjevans/96023f041265a8d461cdcf838b615e29 to your computer and use it in GitHub Desktop.
Save alistairjevans/96023f041265a8d461cdcf838b615e29 to your computer and use it in GitHub Desktop.
Hello World for Arduino
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