Using a PIC microcontroller as an EEPROM writer