Dear @GuyCarver , i have tried joystick.py in my micropython (v1.9.4-7-gaeaace07 on 2018-05-13) installed ESP32 board. I have found some inconsistencies when i start getting values. You can see in attached photos below; I will be glad if you let me know about the issue, Thanks...
This is my main code;
from machine import Pin
import Joystick
import time
x_pin = 36 #ADC PIN - (VP ON BOARD)
y_pin = 39 #ADC PIN - (VN ON BOARD)
button_pin = 5 #DIGITAL PIN FOR BUTTON
j = Joystick.Joystick(x_pin, y_pin, button_pin)
while True:
j.update()
print("x:", j.x, "button:", j.button, "y:", j.y)
time.sleep(0.1)
Dear @GuyCarver , i have tried joystick.py in my micropython (v1.9.4-7-gaeaace07 on 2018-05-13) installed ESP32 board. I have found some inconsistencies when i start getting values. You can see in attached photos below; I will be glad if you let me know about the issue, Thanks...
This is my main code;
Center
Right
Left
Up
Down