Archive for November, 2008
09
Nov

Good afternoon!

The ARCHA project is still active and ongoing constant development, part of my GroundStation software, I had to build a class to interface my E-Sky EK2-0406A using DirectX (for DirectInput) and C#.

You will need to connect your E-Sky controller to the computer running this class using a standard usb training cable.

Example on how to use that class in a form load event of c#:

ARCHAGroundStation.ClESkyController esky = new ARCHAGroundStation.ClESkyController(this);

esky.Poll();

System.Diagnostics.Debug.WriteLine(“Throttle: ” + esky.GetThrottle() + ” – Yaw: ” + esky.GetYaw() + ” – Pitch: ” + esky.GetPitch() + ” – Roll: ” + esky.GetRoll());

You can download the c# source code here: ClESkyController.cs

Cheers,

Marc

, , , , , , , , , , ,

  • Search:
  • Recent Posts

  • Meta

  • Tags