Skip to content

BinaryBearzz/JoyStickModule

Repository files navigation

Library Version

JoyStickModule

this library make for using joystick module 5pin such as gnd, 5v(recommend connect on Pin 3v3), vrX, vrY, sw test working on ESP32 only if use other board suggest offset value in function Joystick::handle() provide Callback function on any events trigger by joy stick module adjust range analogread from 0, 4096 to 0, 1024 or 0, 2048 up to you(board support) position.x = map((aPinX), 0, 4096, -6, 6); position.y = map((aPinY), 0, 4096, -6, 6);

Pinout