Created
December 10, 2015 16:45
-
-
Save michaelsarduino/94ecfba55f22b371d8c2 to your computer and use it in GitHub Desktop.
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
void setup() { | |
pinMode(3, INPUT); | |
Serial.begin(9600); | |
} | |
void loop() { | |
if(digitalRead(3) == HIGH) | |
{ | |
Serial.println("Feuer!"); | |
} | |
else { | |
Serial.println("Kein Feuer..."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment