Simon Says: In a message dated 6/23/99 4:07:29 PM Pacific Daylight Time, spredwood@sri-net.demon.co.uk writes: > Pleeease HELP ! > > I am unable to read the information in an 24C02 eeprom, I can successfully > write to any address, but all reads return a 'FF', irrelevant of the > information held in them, which I know to be valid data. > > How can I set the port up to read instead of write on the data lines esp. > DATA_0(pin 2) Hi Simon, Is this interface to a PIC or parallel port? If it's to a parallel port, and you want to use the DATA lines as input, make sure your port is set to EPP or ECP. Then, you'll need to set bit 5 of the control port, in pseudo code, it'd be something like this: Out to Control Port = Control Port (37A on some puters) OR &H20 This will set all 8 data lines to input. As far as the I2C read routines, can't help ya there, I've never implemented I2C on the parallel port -- I got too darn frustrated with it and put it on hold. Hope this helps, Tim H.