> I tried your program and it works! I guess it just wanted me to use variables instead of hard coding the I2C statements. Or, maybe I just needed to add the TRISIO to set the pins as outputs. There is a weird anomaly going on though. Most of the time when I power it on, other leds flash on for a second then are off.

For sure you must use variable in I2Cread/I2Cwrite statement. It's always safe to assign pin to TRIS statement. Looks in some case on 12Fxxx, if you don't set TRISIO, the output don't work properly .


> There is a weird anomaly going on though. Most of the time when I power it on, other leds flash on for a second then are off.

it can be safe to set LED output on a specific state at the begining.

GPIO.0=0
GPIO.1=0
GPIO......

Be sure to pull down/up unsused pin with resistor <10K. Also i see often an noisy PSU who screw the PIC when starting. Safe if you add 0.1uF + 10uF (tantal or 47uF electrolytic)


>Also, if I have GPIO.0 and GPIO.1 connected to a led, as well as the SDA and SCL lines, the program doesn't work. Any ideas on this? Other than that,

Do you place led to monitor pins of EEPROM? in this case it's absolutely normal, EEPROM may not provide enough current to drive/sink LED.

regards