Skip to content

Instantly share code, notes, and snippets.

@boxalljohn
Created July 15, 2013 10:55
Show Gist options
  • Select an option

  • Save boxalljohn/5999144 to your computer and use it in GitHub Desktop.

Select an option

Save boxalljohn/5999144 to your computer and use it in GitHub Desktop.
while (digitalRead(3) == LOW)
{
Serial.writeln("Button on digital pin 3 has not been pressed");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment