Brodhaq
11-22-2010, 12:35 PM
Dear Sirs,
I would like to ask you for some help with my FSBUS. I have one potentiometer connected to port J3 and need to control throttle in FS using this. So I have defined:
C, CThrottlePot, POTI, 31, 79 (CID = 31, RID = 79)
but how to define FThrottle? Something like F, FThrottle,0, 0x088c, but what next? And how to make routing? I tried
SUB OnCThrottlePot
Set("FThrottle", 1)
END SUB
which doesnt work. I am totally lame at C++ and have no experience with this, I am using only simple I/O switches which were easy to do using samples from FSBUS, nothing more. I need only code for this one POTI, I will make next for mixture and prop and it will be done, nothing more.
Thank you in advance,
Pavel Brodsky¨
Czech Republic
I would like to ask you for some help with my FSBUS. I have one potentiometer connected to port J3 and need to control throttle in FS using this. So I have defined:
C, CThrottlePot, POTI, 31, 79 (CID = 31, RID = 79)
but how to define FThrottle? Something like F, FThrottle,0, 0x088c, but what next? And how to make routing? I tried
SUB OnCThrottlePot
Set("FThrottle", 1)
END SUB
which doesnt work. I am totally lame at C++ and have no experience with this, I am using only simple I/O switches which were easy to do using samples from FSBUS, nothing more. I need only code for this one POTI, I will make next for mixture and prop and it will be done, nothing more.
Thank you in advance,
Pavel Brodsky¨
Czech Republic