The purpose of this electronic project is to present a device that is useful and at the same time demonstrate to the beginner many features involved in programmingthe PIC.  Some of the topics included are:
 *   Simple use of MPASM assembler
 *   Demonstration of use of timer 0 and the prescaler
 *   Use of length of instructions to set up timing delays
 *   Using interrupt routines
 *   Detection of switch closures including debouncing
 *   Saving and recovering data from the onboard EEPROM
Download the source code (.asm)
[source]