Instantly share code, notes, and snippets.

Embed
What would you like to do?
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