I'm trying to store each page of the EEPROM full with read data. I have six input signals each of these are connected to different channels of '877 and i convert each and store them in different EEPROMs as the 6 variables represent different things.

The reason i said three pages was, i though i'm accessing only three pages as i'm calling getCh0 three times. The sampling rate is 10mS like we discussed previously. There should be 100 samples to be stored in a second. . .

I think i have got the basics wrong, i want to sample five of the signals every 10mS one every 20mS and store the result of each samples-converion in six different EEPROMs (one EEPROM for one signal). Then, finally read the stored data from each EEPROM.

If i can sample and store correctly i could call I2CWRITE and I2CREAD for each signal.

I thought as the inputs change, when i read the EEPROMs i should get different data.

I didn't do anything with ADRESH. I set the result as right justified (ADCON1 = %10001001 - i have got two digital signals as well). I should have done something with it, i think. But i'm interested in only the 8-bits.

Best regards,
Tom