Skip to content

Instantly share code, notes, and snippets.

@bryanjhsu
Created October 19, 2016 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanjhsu/a300ea8a1c964a9416bbd5b19e17157d to your computer and use it in GitHub Desktop.
Save bryanjhsu/a300ea8a1c964a9416bbd5b19e17157d to your computer and use it in GitHub Desktop.
void setup() {
Serial.begin(9600);
}
void loop() {
int sensorValue1 = analogRead(A0);
int sensorValue2 = analogRead(A1);
Serial.print(sensorValue1);
Serial.print(":");
Serial.println(sensorValue2);
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment