I’d just hit 3000 kilometers on the roadie bike’s odometer, and the LCD display started flashing… I thought it might have been an Easter Egg-type feature in the odometer, but no, I find out later the battery was going flat, and when I got home all the riding stats had been lost. :-/
I realized I could cheat the stats back on by wiring it up to the parallel port of a Linux machine and ‘bit banging’ a transistor to flick the odometer’s sensor, and it only took a few minutes to set it up. Writing the program to do the bit-banging wasn’t difficult either, with cut&pasting code I’d written before for the HD44780 LCD displays.
Unfortunately the odometer has a limit of 200 km/h. :-P


