#Best way to light an LED if either or both of two Datarefs is true

1 messages · Page 1 of 1 (latest)

rapid violet
#

Hi there, I have a single status LED I want to be on if either of my two yaw damper channels are 1. What's the best way to achieve that? My sim varibles are two Xplane datarefs, abus/CL650/ARINC429/L-FCC-1/words/FCC/0/YD_ENG and abus/CL650/ARINC429/L-FCC-2/words/FCC/0/YD_ENG. Using MF beta 10.5.3.11. Thank you!

proper raptor
#

Read each dataref to separate output config. Open for edit one of the outputs (it doesn't matter which) define the other output as a config reference with placeholder #.
Add a Transform modifier with the formula
if($=1 or #=1,1,0)
Display the result to the Led.