Results 1 to 2 of 2
-
02-22-2015, 07:28 PM #1
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Sioc and Offsett $0800 Autopilot Approach Hold
Hi All,
Hope someone can help with the code for this offset.
I can set it but another press of the switch and it wont reset.
Ive used the code for Nav Hdg and it works ok. I think it maybe
something to do with G/S hold, the two are linked somehow.
It beyond my logic to program this , here is my code bit.
Var 0001 \\ LCD display 1
Var 00015, Link FSUIPC_INOUT, Offset $0800, Length 4
{
IF V00015 = 1
{
V0001 = 4
}
Else
{
v0001 = 1
}
}
What im doing is recording when a button(Approach) via my bodnar board is pressed then activating a page on the LCD panel with text and data.
Thanks
Regards
Les
-
02-23-2015, 03:17 AM #2
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Re: Sioc and Offsett $0800 Autopilot Approach Hold
Solved:
It appears Approach activates G/S Hold and sets both. So I had to AND both Offsets to reset them so I can toggle
the AP Approach button.
Les
Search Prettys Womans from your city for night
5.Sharing an Essay about PIC16F877