![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hello , http://www.melabs.com/resources/samples/pbp/i2c.bas , If we use a I2CREAD or I2CWRITE for some external eeprom the Write address and the Read Address is the same all the time . Whereas if we take for example 24C08A and wire it as follows 1,0,1,0,A2,A1,A0,R/W. where A2= 0 ,A1=0 ,A0=1 . Then we get read and write address as follows Write @ A2 . Read @ A3 . In this case do we require I2CWRITE DPIN,CPIN,$A2,B0,[B0] for writing to EEPROM and I2CREAD DPIN,CPIN,$A3,B0,[B1,B2] for writing to EEPROM . Need help urgent ! Thanks Surge | |
| |