IFD:PhysicalComp2011/code: Difference between revisions

From Medien Wiki
Line 769: Line 769:
     incomingVal = myPort.read();
     incomingVal = myPort.read();
   }
   }
   // set the fill color to the incomming value:  
   // set the fill color to the incoming value:  
   fill(incomingVal);
   fill(incomingVal);
   // draw a rectangle with the height of the
   // draw a rectangle with the height of the