Last active
July 6, 2019 21:00
-
-
Save altanhaligur/35a8932417edf02175f5e3290c88bc4d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int xPin = A0; | |
int xPozisyonu = 0; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(xPin, INPUT); | |
} | |
void loop() { | |
xPozisyonu = analogRead(xPin); | |
Serial.print(xPozisyonu); | |
Serial.print("\n"); | |
delay(100); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment