Skip to content

Instantly share code, notes, and snippets.

@sighrobot
Last active December 30, 2015 20:29
Show Gist options
  • Save sighrobot/7880680 to your computer and use it in GitHub Desktop.
Save sighrobot/7880680 to your computer and use it in GitHub Desktop.
Sound Kites FINAL PCOMP 2013
// Introduction to Physical Computing - ITP - NYU
// Fall 2013 - Tom Igoe
// Final project - Sound Kites
// Abe Rubenstein + Yu Ji
// ARDUINO
// sensor values
int s1 = 0;
int s2 = 0;
int s3 = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
s1 = analogRead(A0);
s2 = analogRead(A1);
s3 = analogRead(A2);
Serial.print(s1);
Serial.print(",");
Serial.print(s2);
Serial.print(",");
Serial.println(s3);
delay(2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment