Skip to content

Instantly share code, notes, and snippets.

@michaelsarduino
Created December 15, 2015 16:15
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 michaelsarduino/48ae72cd9b30ce7521c1 to your computer and use it in GitHub Desktop.
Save michaelsarduino/48ae72cd9b30ce7521c1 to your computer and use it in GitHub Desktop.
void setup() {
Serial.begin(9600);
}
void loop() {
if(analogRead(A5) >= 100)
{
Serial.println("Hell!");
}
else {
Serial.println("Dunkel!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment