topical media & game development

talk show tell print

graphic-processing-algorithm-Appendix-p333-p333.pde / pde



  void setup(){
    pinMode(3,INPUT); // set the pin 2 to input
  }
  void loop(){
    int val = digitalRead(3); //read from the pin 2
    digitalWrite(13,!val);
  }
  


(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.