Masterploxis
08-26-2012, 09:48 AM
Hello,
i want to read the offset for the standby frequency of COM 1.
The offset is $311A. The Sioc code should read the content and display it on the 7 segment displays.
My code is:
var 1, Link FSUIPC_IN, Offset $311A, Length 2
{
v2 = v1
}
var 2, name COM1STBY, Link IOCARD_DISPLAY, Digit 10, Numbers 5
Actually, if i turn the encoder for the frequency, the values on the 7 segment displays are changing. But the numbers shown do not make sense. I suppose the Output in the $311A Offset required some formatting but i do not know how. Is this a special offset ? Is some formatting or something else required to show the correct frequency ?
Thanks for any help...
Cheers
Andy
i want to read the offset for the standby frequency of COM 1.
The offset is $311A. The Sioc code should read the content and display it on the 7 segment displays.
My code is:
var 1, Link FSUIPC_IN, Offset $311A, Length 2
{
v2 = v1
}
var 2, name COM1STBY, Link IOCARD_DISPLAY, Digit 10, Numbers 5
Actually, if i turn the encoder for the frequency, the values on the 7 segment displays are changing. But the numbers shown do not make sense. I suppose the Output in the $311A Offset required some formatting but i do not know how. Is this a special offset ? Is some formatting or something else required to show the correct frequency ?
Thanks for any help...
Cheers
Andy