topical media & game development

talk show tell print

graphic-processing-algorithm-Ch11-p285-p285.pde / pde



  void setup(){
    Serial.begin(9600); //start serial at 9600 bits per second
  }
  void loop(){
    int in = analogRead(5); //read information from the photocell )
    Serial.println(in); // send information through serial stream
  }
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.