Hello everyone,
First of all, I apologize If this subject has been brought before, but I couldn't find anything on it.
This week I've been working on a prototype that uses SimConnect to change the COM1 frequencies. Eventually the idea is to have a micro-controller displaying the "in-game" frequencies into a display and reading inputs to send to the simulator and change the frequency.
During the work on this prototype I've found a issue with SimConnect. MSFS supports increments of 25 KHz, so theoretically on the display that I would have in the micro-controller, I would need 6 digits to display the COM1 frequency.
Now, the issue is, while reading the data from MSFS through SimConnect I've found that the unit used ("Frequency BCD16") does not support a 6 digit frequency. Example: 119.000 and 119.005 are both read with the same BCD16 value as through SimConnect and when converted it displays 119.000. The problem is not the conversion, because the BCD16 value is the same.
My question is If I'm missing something or If SimConnect can't really read frequencies ending with XXX.XX5?
Thanks,
André
First of all, I apologize If this subject has been brought before, but I couldn't find anything on it.
This week I've been working on a prototype that uses SimConnect to change the COM1 frequencies. Eventually the idea is to have a micro-controller displaying the "in-game" frequencies into a display and reading inputs to send to the simulator and change the frequency.
During the work on this prototype I've found a issue with SimConnect. MSFS supports increments of 25 KHz, so theoretically on the display that I would have in the micro-controller, I would need 6 digits to display the COM1 frequency.
Now, the issue is, while reading the data from MSFS through SimConnect I've found that the unit used ("Frequency BCD16") does not support a 6 digit frequency. Example: 119.000 and 119.005 are both read with the same BCD16 value as through SimConnect and when converted it displays 119.000. The problem is not the conversion, because the BCD16 value is the same.
My question is If I'm missing something or If SimConnect can't really read frequencies ending with XXX.XX5?
Thanks,
André


