SHARE
TWEET

Untitled

a guest Jul 18th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int xPin = A0;
  2. int xPozisyonu = 0;
  3.  
  4.  
  5. void setup() {
  6. Serial.begin(9600);
  7. pinMode(xPin, INPUT);
  8.  
  9.  
  10.  
  11. }
  12.  
  13. void loop() {
  14. xPozisyonu = analogRead(xPin);
  15.  
  16. Serial.print(xPozisyonu);
  17. Serial.print("\n");
  18.  
  19.  
  20. delay(100);
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top