c172p-team / c172p

A high detailed version of the Cessna 172P aircraft for FlightGear
GNU General Public License v2.0
82 stars 43 forks source link

KR87 ADF: prevent overflow, implement countdown timer and directly setting the active FRQ in FLT/ELT mode #1499

Closed hbeni closed 7 months ago

hbeni commented 8 months ago

Fix #1279

hbeni commented 8 months ago

The new count-down mode is operated in this way:

EDIT: added a Wiki page for documentation: https://wiki.flightgear.org/Bendix_King_KR_87_ADF_Receiver

hbeni commented 8 months ago

One last thing I'm unsure about: Does the FT timer show FT really just in MM:SS like it is modelled now? I would assume that it will show it in HH:MM... Could not find something in the manuals, however.

  • MSFS is simulating HH:MM from the start on.
  • I know from the Davtron 804 clock, that it switches to HH:MM when crossing the hour mark.
  • ChatGPT said, that the FT usually displays HH:MM.

Finally, I would say I change the implementation to HH:MM after one hour.

EDIT: Nervermind. It was actually already correctly in the code...

So this should be ready imho.