Lorenzo1818

Sketch - Project 14 Starter kit

May 22nd, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. const int potPin = A0;
  2.  
  3. void setup(){
  4.   Serial.begin(9600);
  5. }
  6.  
  7. void loop(){
  8.   Serial.write(analogRead(potPin)/4);
  9.   delay(1);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment