PDA

View Full Version : Please help - trying to connect an Arduino Leonardo



AirFan
06-13-2014, 07:22 PM
Hi guys,

I need some help. I know there are some Arduino Pros around here, so I will try to explain my issue:

I got an Arduino Leonardo. I want to connect it as a HID USB joystick to implement the axis in FSX without any 3rd party software. For that I followed these instructions:

http://www.imaginaryindustries.com/blog/?p=80

It works great. The computer recognizes it as a joystick device and I got all the axis I need. BUT each axis only 8bit resolution (255 steps). How do I get it to 10bit resolution? This HID.cpp file is really FAR from being understandable and the proposed way how to go to 10bit in the comments dont work. I spent hours but I cant get it to run with higher resolution. Can anybody help?

Please drop me a line.
Thanks & regards,

Rob