I have a PIC16F88 with port B pin1 as SDA and port B pin 4 as SCL. It runs on 20 Mhz crystal and has SDA only pulled to +5V via 10K resistor. I was using Pic Basic and successfully compiled and ran a program that accessed bytes from a 24LC256 EEprom.

Then I wanted to experience life after 2K, as they all say.. so I purchased and upgraded to Pic Basic PRO. I made changes throughout the program and got all working except for I2C commands. So here are the essential details of my attempt :

Line of code in question:
I2cread portb.1, portb.4, %11010000, EEP_Addr, [EEP_Data]

I have also tried using "DEFINE I2C SLOW 1", "DEFINE I2SCLOUT 1", adding a pullup resistor to SCL line and using 4Mhz crystal instead of 20Mhz..

It used to work!! so it must be possible, does anyone have any pointers for me here?

Thanks!