GMU:Speculative Atmospheres II/Sam Ryu: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 48: Line 48:


01. Initialize five sensors, receive data values from Arduino, and send them to Max.
01. Initialize five sensors, receive data values from Arduino, and send them to Max.
int val[6];
 
void setup() {
  Serial.begin(9600);
}
void loop() {
void loop() {
   for(int i = 0; i < 5; i++){
   for(int i = 0; i < 5; i++){