I'll bear that idea in mind. I'm thinking about reworking the button LED code substantially. Ideas so far include:

1)Trying to get PWM to affect the LED level so that my buttons dim when I dim my dash lighting during long night drives.

2)Get the button LED code to play more nicely with the display dimming code so that they don't confuse each other.

3)Hijacking the display dimmer and applying (1) to it.

4)Regardless of (1) and (3), make it possible to set distinct HL On and HL Off values. (At the moment they are computationally related).

5) I'm considering how to make best use of the flash setting in the above scheme. Perhaps when PWM is in use, the flash settings become a mulitplier to the brightness so that we can calibrate the button_LEDs to the dash.

6)Maintaining backward compatibility.

These are just ideas at the moment. The hardest part is trying to measure the duty cycle of a PWM line, given that we don't know what frequency it's running at. (And every car will be different).
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.