topical media & game development

talk show tell print

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



  
  void setup(){
    Serial.begin(9600);
  }
  int value2;
  void loop(){
    int value1 = analogRead(0);
    Serial.println(value2-value1);
    value2 = value1;
  }
  


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