Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 24th, 2012  |  syntax: None  |  size: 0.14 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. int analogIn = A2;
  2.  
  3. void setup(){
  4. Serial.begin(9600);
  5. }
  6.  
  7. void loop(){
  8. int in = analogRead(analogIn);
  9. Serial.println(in);
  10. delay(500);
  11. }
clone this paste RAW Paste Data