Thomas Buck 52ecdee2aa Add Saitek X52 Pro VID/PID | 8 years ago | |
---|---|---|
.gitignore | 8 years ago | |
COPYING | 8 years ago | |
README.md | 8 years ago | |
Saitek-X52-PPM.ino | 8 years ago | |
cppm.cpp | 8 years ago | |
cppm.h | 8 years ago | |
data.h | 8 years ago | |
events.h | 8 years ago | |
events_buttons.cpp | 8 years ago | |
events_cppm.cpp | 8 years ago | |
events_deadzone.cpp | 8 years ago | |
parser.cpp | 8 years ago | |
parser.h | 8 years ago | |
x52.cpp | 8 years ago | |
x52.h | 8 years ago |
This sketch allows connecting a Saitek X52 or Saitek X52 Pro to an Arduino with a USB Host Shield. It uses the USB_Host_Shield_2.0 Library.
A CPPM signal is generated on a configurable pin (4 by default, can be changed in cppm.h
).
It includes code to interface with the Multi-Function-Display on the Joystick to display text and change the LED and background lighting.
I’m connecting the Arduino to the FrSky DHT module in my modified transmitter to control my Tricopter.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.