Created
August 31, 2015 11:31
-
-
Save buildcircuit/0cd58e5c30a812573067 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
int sensor1 = A0; //connected to analog 0 | |
void setup() | |
{ | |
Serial.begin(9600); | |
} | |
void loop() {int sensor1pin = analogRead(sensor1); | |
Serial.print("sensor1:"); | |
Serial.println(sensor1pin); | |
delay(2000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment