Hazlo así y no te compliques:
Codigo:
#include <16F876.h>
#use delay(clock=4000000)
#fuses XT,NOWDT,NOPROTECT,NOLVP,NOBROWNOUT
#include <2416.c> // SDA=PIN_C4 , SCL = PIN_C3
#include <lcd.c>
#define MAX 5
void main()
{
int const dato_write[5]={0,1,2,3,4};
int dato_read;
int n;
EEPROM_ADDRESS direccion;
init_ext_eeprom();
lcd_init();
for (n=0;n<MAX;n++)
write_ext_eeprom(n,dato_write[n]);
delay_ms(20);
for (n=0;n<MAX;n++)
{
dato_read = read_ext_eeprom(n);
printf(lcd_putc," %u",dato_read);
delay_ms(1000);
}
for(;
{}
}