Best regard
In the Button and Switch Assignments area, I have programmed some switches for:
Adf 1 Dec
Adf 1 Inc
Adf1 Radio Swap.
This has generated some texts within FSUIPC7.ini which appear like this:
[Buttons]
PollInterval=25
ButtonRepeat=20,10
2=PB,0,C65668,0 -{ADF_1_DEC}-
3=PB,1,C65650,0 -{ADF_1_INC}-
4=PB,18,C66741,0 -{ADF1_RADIO_SWAP}-
Up to this point, everything works well and the buttons do their job and on the plane's ADF panel, they change without problem.
What I want is to take this information to a variable that could start in 66C0 so that I can read it with the Opencockpits SIOC program to present it on an LCD display
I have created a file called myOffests.txt inside the FSUIPC7 folder and written the following information inside that file:
// offset, size, simvar, type, units [, w]
0x66C0, 1, ADF_1_DEC, Bool, Bool, w
0x66C1, 1, ADF_1_INC, Bool, Bool, w
0x66C2, 1, ADF1_RADIO_SWAP, Bool, Bool, w
But it does not work. I don't know if I need to put some extra information in the FSUIPC7.ini, such as:
[myOffsets]
1=myOffsets
I have programmed many events in SIOC and they work fine, but I cannot get this information that I need. If you can please help me with this project, I would be very grateful.