This was the first project in which I took advantage of the PIC16Cxx's sleep, wake on port B change, and programmable port B pullup resistor features. These features work together quite nicely such that the quiescent power dissipation of my remote control is negligible (in the microamps).
The keyboard scanning code in this project was fairly primitive, but then, the whole project was just a quick hack.
The code for an early version of this project is available under the terms of the Free Software Foundation's General Public License, Version 2. If you agree to the terms of the license, you may download a copy in either tar or zip format:
Last updated February 25, 2001
Copyright 1995, 1997, 1998, 1999, 2000, 2001 Eric Smith