I connected my joystick with this tutorial: link
However, it does not work. The code runs fine (after changing
print "---" to
print("---") to support modern python), but the output values stay at 0.
X : 0 Y : 0 Switch : 0
This is my circuit. I checked it 2-3 times, seems fine.
- "+" and "-" are reversed on my breadboard. I decided to stay consistent with marks on my breadboard, not the tutorial.
- pins on my joystick are different. (on my js, highest says "GND", second highest says "5W". bottom three output signals.