September 5, 20187 yr I am trying to use 'customa commands' as of page 11 from the manual in combination with Teensy FlightsimControls. But it does not work :-( Q1: How is the "suffix" meant? Adding a _1 to the commad? e.g.: RXP/GNS/CFLP_1 ? or RXP/GNS_1/CFLP? Q2: How do I use these commands? This does not work so far : FlightSimCommand GPS_R_outer; setup() { GPS_R_outer= XPlaneRef("RXP/GNS_1/GPS/OUTR_CCW_1 } loop() { GPS_R_outer=1; } I do not even see any communication happening in the communication windows
September 5, 20187 yr 2 hours ago, drnicolas said: RXP/GNS/CFLP_1 This is how they are defined indeed: just add _1 or _2 suffix (meaning at the end). 2 hours ago, drnicolas said: XPlaneRef I don't know the details of this interface, but from this name, I'd infer you are trying to bind a 'dataref'. However, the GNS commands are 'commands', not datarefs. You might want to review the interface documentation for such.
September 6, 20187 yr Author I think "FlightSimCommand" is correct for Commands. You can also choose "FlightSimInt". That should be filled with an int value. What should I assign to the Command ? 1? 0? something else?
September 6, 20187 yr Hi, 2nd link found google which might help you: https://forum.pjrc.com/threads/34128-XPLane-Commands-with-Teensy
Archived
This topic is now archived and is closed to further replies.