Created
September 11, 2015 18:02
-
-
Save michaelsarduino/906c23392f7f306b9025 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() { | |
//starten der seriellen Kommunikation | |
Serial.begin(9600); | |
} | |
void loop() { | |
//auslesen des Wertes von Pin A0 und senden an PC | |
Serial.println(analogRead(A0)); | |
//kurz warten | |
delay(2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment