Created
February 28, 2018 08:16
-
-
Save AJIOB/2415fb6558a28d0c1d2c1ca90e570c6f to your computer and use it in GitHub Desktop.
This file contains 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
const uint8_t pin = A0; | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(9600); | |
pinMode(pin, INPUT); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
Serial.println(analogRead(pin)); | |
delay(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment