ZIBO speed breaks

Support for Arduino in combination with Air Manager and Air Player

Moderators: russ, Ralph

Post Reply
Message
Author
bebe100
Posts: 59
Joined: Sat Sep 19, 2020 3:22 pm

ZIBO speed breaks

#1 Post by bebe100 »

Hi
I use a potiometer for the speed breaks but I don't know which dataref to use .any help please

SimPassion
Posts: 5339
Joined: Thu Jul 27, 2017 12:22 am

Re: ZIBO speed breaks

#2 Post by SimPassion »

As always, @bebe100, did you used latest DataRefTool ?
https://forums.x-plane.org/index.php?/f ... eaks-zibo/

SimPassion
Posts: 5339
Joined: Thu Jul 27, 2017 12:22 am

Re: ZIBO speed breaks

#3 Post by SimPassion »

 
The only one I'm seeing are the default :

image.png
image.png
 

SimPassion
Posts: 5339
Joined: Thu Jul 27, 2017 12:22 am

Re: ZIBO speed breaks

#4 Post by SimPassion »

If using an analog potentiometern, refer to the "laminar/B738/flt_ctrls/speedbrake_lever" dataref, as already suggested by @crbascott here : https://forums.x-plane.org/index.php?/f ... nt=2429026
It looks like you've not answered to him before requesting here on the forums ... again, not sure how you're meaning is working @bebe100, sure many simmers with best willing will not be very helpful without your interaction !?

SimPassion
Posts: 5339
Joined: Thu Jul 27, 2017 12:22 am

Re: ZIBO speed breaks

#5 Post by SimPassion »

 
Meanwhile, this is working properly :

Code: Select all

--====================================================================================
--								CHECK PURPOSE
--====================================================================================

function sb(val)
	xpl_dataref_write("laminar/B738/flt_ctrls/speedbrake_lever","FLOAT",val)
end

hw_adc_input_add("HW_PORT_A0",sb)

bebe100
Posts: 59
Joined: Sat Sep 19, 2020 3:22 pm

Re: ZIBO speed breaks

#6 Post by bebe100 »

Thanks to everyone

Post Reply