R/C trainer port to USB joystick with leonardo


I needed an adapter from R/C trainer port of may transmitter to USB (joystick) to be used under windows. The code is attached. Just connect the trainer cable to pin 2 and GND. Worked under Windows 10 without any problem. Comments are welcome.

For the case I’ve designed one to be printed on an 3D-printer (fits for the pro micro):

Best regards,

rc2usb.ino (2.22 KB)