#CircuitPython Code for Adafruit Joystick(s)

1 messages · Page 1 of 1 (latest)

autumn hull
glossy vigil
#

@autumn hull I've pushed a new example into the ListSelect library that shows how to use it with a Joystick: https://github.com/FoamyGuy/CircuitPython_Org_DisplayIO_ListSelect/blob/main/examples/displayio_listselect_joystick.py It's set up for a PyGamer which has a built-in joystick, but should work the same with any analog joystick, you'll just need to replace the pin with whichever GPIO pin your joystick Y axis is connected to, and possibly change the display setup if you are not using a device with a built-in display.

(Sorry if you get double pings. I just remembered this is in a thread now.)