Search found 6601 matches

by Ralph
Tue Sep 27, 2022 7:44 pm
Forum: Arduino
Topic: AOA Indexer Project
Replies: 12
Views: 92

Re: AOA Indexer Project

Almost.

Code: Select all

hw_output_set(led_AOAnorm, AOA >=6.9 and AOA <=9.3)
by Ralph
Tue Sep 27, 2022 5:52 pm
Forum: Arduino
Topic: AOA Indexer Project
Replies: 12
Views: 92

Re: AOA Indexer Project

Try this:

Code: Select all

led_AOAhigh = hw_output_add("ARDUINO_NANO_A_D6", false)

function new_data_fsx(AOA)

  hw_output_set(led_AOAhigh, AOA >=8.8)

end

fsx_variable_subscribe("INCIDENCE ALPHA", "Degrees", new_data_fsx)
by Ralph
Tue Sep 27, 2022 4:55 pm
Forum: Lua and API Scripting Help
Topic: inter-instrument-communication
Replies: 9
Views: 63

Re: inter-instrument-communication

Otherwise it might be the firewall. You can try by disabling it temporarily.
by Ralph
Tue Sep 27, 2022 3:16 pm
Forum: Air Manager Help
Topic: FS2020 Keyboard Stroke Generation?
Replies: 9
Views: 260

Re: FS2020 Keyboard Stroke Generation?

Just not really feeling for it :) Maybe later.
by Ralph
Tue Sep 27, 2022 3:08 pm
Forum: Lua and API Scripting Help
Topic: inter-instrument-communication
Replies: 9
Views: 63

Re: inter-instrument-communication

In Air Manager for Air Player.
by Ralph
Tue Sep 27, 2022 2:40 pm
Forum: Lua and API Scripting Help
Topic: inter-instrument-communication
Replies: 9
Views: 63

Re: inter-instrument-communication

Connection issue. You can try setting the IP address manually for Air Manager.
by Ralph
Tue Sep 27, 2022 2:39 pm
Forum: Arduino
Topic: AOA Indexer Project
Replies: 12
Views: 92

Re: AOA Indexer Project

If you subscribe to degrees then you would just get different values from the simulator.
by Ralph
Tue Sep 27, 2022 10:36 am
Forum: Air Manager Help
Topic: Help Please With AP!
Replies: 14
Views: 188

Re: Help Please With AP!

It might be that the last version of your instrument didn't come through, can be because of various reasons. You can increase the version number to check.
by Ralph
Tue Sep 27, 2022 9:04 am
Forum: Arduino
Topic: AOA Indexer Project
Replies: 12
Views: 92

Re: AOA Indexer Project

One more thing. If you're not going to dim the LED's, then you can use hw_output_add and _set. Then you can do your statement within the set. So for example hw_output_set(led_a, aoa >= 10)