1
0
Fork 0
Commit graph

4 commits

Author SHA1 Message Date
j4strngs
056dff7dee Fixes from Julian Foad:
- makes instrument knobs turn at a realistic rate
- removes redundant <min> and <max> specifications*
- corrects the indentation to reflect nesting depth
- corrects some descriptive names

* E.g. if the gyro compass heading is 365, there's no point clamping the
value to 360 before drawing it.  Just using the given value is more
likely to be right - or, if it's wrong, at least we won't hide the bug.
2002-11-10 20:44:17 +00:00
j4strngs
7d224e6820 The new led font is now antialiased (`a la Andy) and has
twice the design size (character height) of the old one.
Advantages:
- displays . and : correctly with less space around, and digits
  with more space around (using Andy's improvements to plib)
- small text becomes much more legible (-> clock, AP-altitude)
- the font contains pretty much every character that can be
  displayed on a seven segment display, so it might be more
  useful for future instruments.
2002-11-02 00:23:46 +00:00
curt
a6eca0a3e9 Make adf power on/off a seperate property. 2002-08-29 02:18:36 +00:00
j4strngs
e08a89a37c King KR-87 ADF radio markup
It's a little funky to use right now because
the FRQ and timer buttons should be momentary action.
As it stands you need to do 2 clicks to send on/off.
If anybody can think of a workaround, we could use one.

For now the ADF and BFO buttons just toggle the
annunciators. For ANT mode, I just need to wire up the
ADF needle.

Two clicks on FRQ flip flops the selected and standby
freqs.
Two clicks of FLT/ET will change the standby display
to timer mode and another two will flip between
FLT and ET. If you click and the annunciator flashes
briefly but the display does not change, you need
to click FRQ -one time- to get the button in phase.

ET mode has a count down mode, this is where it really gets tricky.
On the real thing, you hold the SET/RST button for 2 seconds.
Here you must click one time, wait for the display to flash then
click one more time. Now you can set the time to count down.
Right clicking the dial will set minutes, middle click (I know,
I'll make it a keyboard modifier later) sets hours. As usual
the left side decreases and right side increases.
Once you have the desired time set, click the SET/RST button
twice in rapid succession. Two rapid clicks will reset the
elapsed timer when it's counting down, but also while you are
setting it (when display is flashing).
When the count down timer reaches zero, it starts counting up again.
It -should- flash for 15 seconds and set off a warning tone, but
for now it doesn't.

The unit is also equipped with an on/off/volume knob. Whne the
unit is powered down the timers are reset.

TODO:

Add labeling
Wire up ADF needle
Prettier face
2002-07-30 04:03:36 +00:00