Last active
December 30, 2015 20:29
-
-
Save sighrobot/7880680 to your computer and use it in GitHub Desktop.
Sound Kites FINAL PCOMP 2013
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
// 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