Eprom Access Functions.h

PIC16F877 sample code that demonstrates how to access an external I2C EEPROM chip connected to a PIC. PIC16F877 is running at 20MHz and 24LC256 with RC0 as a clock pin and RC1 as a data pin. This example does not use the I2C specific interrupt features of the PIC16F877 to enable it to be used on a wider variety of PIC's. Modular approach makes it easy to follow and adapt for other designs (by Jamie Balfour).






// External Eprom Access. Jamie Balfour. Dec 2002.

// No Liability Accepted.



/* Functions Specific to the Eprom Memory Chip */

unsigned char RetrieveData( unsigned char , unsigned char , unsigned char );

void ByteWrite( unsigned char, unsigned char, unsigned char, unsigned char );




Copyright© 2002 Pavel Baranov.