Hi,
It works now, i had 10K to pull up the data and clock lines. May be that coursed the problem. Thank you very much.
I have 8 of 25LC256 devices and in each device i will store A/D results until they are full and once full start storing again.
I'm thinking to do it as follows:
I'll store the result of the A/D from say channel 0 in EEPROM-device 1 with device-address $A0.
And the result to the A/D from channel 1 will be stored in EEPROM device 2 with device address $A2.
And the the last EEPROM-device will have address of $AE and A/D result from channel 7 will be stored in it.
I'm thinking to use FOR ... NEXT and there is 32 768 bytes in each device. However i'm worried if this approach will take a lot of time and i'm not sure how to write to the 64 byte page of an 24LC256 device.
Once this is done, i like to send the results from each EEPROM to a PC using RS232 protocol.
I'm new to PicBasic Pro and i know that the way i'm thinking to do is so "BAD". Can you please give some tips how to approach the problem with good performance?
Best Regards,
Tom.
Bookmarks