hy-fye1 Posted January 2, 2023 Posted January 2, 2023 Hi everyone, is there a list of sendDcsBiosMessage-commands for the F-16? Thanks in forward Best regards Markus
No1sonuk Posted January 4, 2023 Posted January 4, 2023 On 1/2/2023 at 4:12 PM, hy-fye1 said: Hi everyone, is there a list of sendDcsBiosMessage-commands for the F-16? Thanks in forward It's in the normal control reference document. e.g. The command ref says this: DcsBios::Switch2Pos masterCaution("MASTER_CAUTION", PIN); The bit in red is the command for sendDcsBiosMessage, so the arduino code to set the switch to on in DCS is: sendDcsBiosMessage("MASTER_CAUTION", "1"); Change the "1" to "0" to turn it off. Change the "1" to "2" if it's the third of a 3-position switch and so on. IIRC, "TOGGLE", "INC" and "DEC" also work, as well as the custom increment and decrement. e.g. "-3200" and "+3200". The "advanced" view in the control reference tells you what values DCS expects. Note that if you are generating the number for sendDcsBiosMessage in your code (e.g. for an analogue control), it has to be sent as a string, not an integer.
hy-fye1 Posted January 4, 2023 Author Posted January 4, 2023 Thank you very much, that help's. Best regards Markus
Recommended Posts