Thread: SIOC Elevator Pot Code
09-28-2009, 06:26 AM #1
- Join Date
- Jun 2008
- Stafford, UK
SIOC Elevator Pot Code
I have built my own yokes and connected the elevator and aileron pots to the first two analog inputs on my USB Expansion card. Controlador picks these up correctly.
Unfortunately I am unable to get my SIOC script to write the pot values to FSUIPC. (I am doing the math using L0 to turn the 0~255 positions to -16383 +16383).
Does anyone have SIOC code for this? I am not convinced that I have the correct FSUIPC_OUT declaration and would like to see some examples.
I would post my code, but I am at work atm and dont have it with me!
By blueskydriver in forum OpenCockpits General DiscussionReplies: 4Last Post: 02-05-2013, 01:45 PM
By hercules in forum OpenCockpits General DiscussionReplies: 0Last Post: 01-25-2009, 07:28 PM
By BoeingNG in forum OpenCockpits General DiscussionReplies: 3Last Post: 08-10-2008, 05:53 PM
By dcutugno in forum PMSystemsReplies: 0Last Post: 12-10-2007, 06:10 PM
By Polmer in forum I/O Interfacing Hardware and SoftwareReplies: 6Last Post: 12-28-2006, 09:49 AM