Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.56 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.56 KB

Pick and place machine code

Joystick handling

pro_micro_joystick_hid_mouse/pro_micro_joystick_hid_mouse.ino

Analog gameport joystick -> USB HID joystick, using a Pro Micro module.

References

Connections

| Game port | Function | Pro Micro pin | |----|------|----------|-----------------| | 1 | Vcc | Vcc | | 2 | Button1 | 9 | | 3 | X axis | A0 ---100K--- GND | | 4 | GND | GND | | 5 | | | | 6 | Y axis | A1 ---100K--- GND | | 7 | Button2 | 8 | | 8 | | | | 9 | | | | 10 | Button4 | | | 11 | X2 - unused?? | | | 12 | | | | 13 | Y2 - for hat | A2 ---100K---GND | | 14 | Button3 | | |

pro_micro_joystick/pro_micro_joystick.ino

Analog gameport joystick -> USB HID mouse. Mostly a test. Based on the pro micro tutorial.