Hello,
So I'm relatively new to coding and working with the raspberry pi and I am working on a controller using gpionext. I am using an analog joystick and a mcp3008 adc to convert analog to digital input. My question now is what code can i use so that my joystick inputs are read as buttons, so that if for example the x-axis reaches a certain point it is recognized as a button that i can than map in gpionext. Like a button that you connect to the gpio pins. But since I'm new I don't realy know how to code this and nothing on the internet really helped me.
Thanks for any answers
So I'm relatively new to coding and working with the raspberry pi and I am working on a controller using gpionext. I am using an analog joystick and a mcp3008 adc to convert analog to digital input. My question now is what code can i use so that my joystick inputs are read as buttons, so that if for example the x-axis reaches a certain point it is recognized as a button that i can than map in gpionext. Like a button that you connect to the gpio pins. But since I'm new I don't realy know how to code this and nothing on the internet really helped me.
Thanks for any answers
Statistics: Posted by Gokuh — Fri Jan 24, 2025 11:01 pm — Replies 2 — Views 44