Quote Originally Posted by brucetoo
DOES anyone have some working examples of I2C E-prom code for 24LC32A or 24LC256A MicroChip eproms? Writing to and reading from, using word addressing? I am confused – According to - MicroChip -- 1010 is E-prom, bits 1-3 are the chip address, and bit 0 is low for write high for read.
PBP says bit 0 is for either byte or word addressing
I have tried all the examples I can find with a PIC16F628 and PBP. None seem to work.
I am going to make a data logger to read a current transformer with a PIC16F819 and a real time clock chip also I2C to see how long a pump runs and it’s current draw over several days.

Do you have Google? Did you read the PicBasicPro manual?
I Google'd EEPROM and 24LC32 and 24LC256 and got over a million hits. Surely, somewhere in one of those million+ hits, somebody out there has gotten PicBasicPRo to work with one of those 2 chips. I mean after all this time, I have a tough time believing that nobody has ever thought of expanding the onchip memory with an external serial eeprom in this fashion. Surely, somebody at MeLabs would've thought that the users of PicBasicPro would deserve, dare I say DEMAND!, to have a built-in command designed just for the express purpose of easily accessing an external eeprom chip.
Or a guy could get really simple and plug an electrical clock with a mechanical movement in-line with the pump, set it at 12:00, and check it at the same time each day and reset the hands on the clock back to 12:00. But that's just me, I'm wierd that way. Not asking for much are we?