Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
int analog0 = A0;
int analog1 = A1;
void setup()
{
Serial.begin(9600);
}
void loop()
{
int val0 = analogRead(analog0);
Serial.print("A0: ");
Serial.println(val0);
int val1 = analogRead(analog1);
Serial.print("A1: ");
Serial.println(val1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.