2022-04-26 05:48 PM
The voltage measured was approximately 3.3v at the pins of the joystick. As the direction changes the voltage drops to 0vs. I'm yet to work with the task and I understand that all inputs on the GPIO pins are set to analog by default.
My question is, what is the possible cause of not reading the inputs of this unit considering my simple setup? Please point me to the direction where I could read more about this Board.
Thanks in advance,
Hiram
2022-04-26 07:05 PM
You should set them as inputs with pullups. The buttons will ground each signal. Either poll the pin states or connect them to EXTI to be notified of a falling edge.
2022-07-04 09:16 PM
Hi!
It's been a while but, I found the issue with your help a while ago however.
First, I did have to change the device to input and make sure I was noticing when the interrupt occurred.
Thanks for your help!
Hiram
HXE