Jump to content

Recommended Posts

Posted

I'm new to home built cockpit stuff.  I'm trying to use mobiflight and the datareftool to hook up physical switches for the hotstart TBM 900.  I'm starting with the airframe ice switch.  I can get the switch to work in the stock 172 just randomly assigning it to the landing lights but it doesn't work in the TBM for airframe ice.  I used the datareftool and copied the line into mobiflight the same way I did for the 172.  Is there something different about writing data refs in xplane using the TBM 900?  It seems this is a "custom" data ref and not one of the presets in mobiflight.   I'll keep plugging away but any input would be greatly appreciated.  I'm using xplane 11 and an audrino mega.  Thanks all, Pat

Posted

Ok i figured it out.  Now I'm stuck trying to get the led lights (green gear down indicators) to individually work on the panel.  The value is getting reported in a [0,0,0] format.  How do I program the value section mobiflight to read the individual numbers for individual leds?  Thanks for your time, Pat

Posted

I'm trying to research dataref arrays not try and figure this out.  Can this all be done in mobiflight or do I need to be programming in something else?  It looks like I need to create a variable from the array and then read the variable.  Something like 

dataref( "Nose_led_1", "tbm900/lights/ice/airframe_deice", 0 ) 

gets inserted somewhere (mobiflight or a folder or a program?) and then to read it I just put Nose_led_1 as the dateref in mobiflight, right?  Am I making progress?  Sorry for the newbie level of intelligence here and thanks a ton for helping me, I very much appreciate it!  Pat

2024-01-29_11-07-06.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...