#Using potentiometer in Xplane for screen brightness

1 messages · Page 1 of 1 (latest)

blissful cloud
#

First, thank you for reading this thread!.
I am trying to control screen brightness PFD, ND, ECAM, etc, in Xplane Toliss, I have the datarefs however, I am having a hard time trying to make the potentiometer value be converted into a transform that the sim expects.

The dataref in question is: AirbusFBW/DUBrightness, which is an array and the display I want to control is index 2 in the array.

The sim expects 0 for screen off, and 1.0 for screen at max brightness. Below is what I have been able to do, note, my pots are placed upside down thus I need to reverse values in mobiflight.

Thank you!

#

I just figured it out... the issue was I was reading a value with $, but what I needed to do was to input a value with @, so the solution was 1 - (@ / 1003) for me

#

thanks!