??? 11/26/09 09:46 Read: times |
#171187 - Read Murray's excellent Help Files Responding to: ???'s previous message |
Murray's example code writes/reads address 0x0000 from a 24C02 eeprom. This device only use a single byte to set the address. i.e. 0x00..0xFF to access 0x0000..0x00FF
Your 24C256 needs to send two bytes. e.g. 0x12, 0x34 to access 0x1234 Your 24C256 can only use 0x0000 to 0x7FFF. So sending 0xAA,0xAA (0xAAAA) is not a valid 24C256 register address. David. |
Topic | Author | Date |
AT24C256 | 01/01/70 00:00 | |
help | 01/01/70 00:00 | |
BitBang's Amost Always.... | 01/01/70 00:00 | |
Why use void functions | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
Writing to specific address | 01/01/70 00:00 | |
Send sensible address values. | 01/01/70 00:00 | |
I2C_0.0.zip | 01/01/70 00:00 | |
no luck, | 01/01/70 00:00 | |
You have more pins to mis-wire. | 01/01/70 00:00 | |
i2c used, What should be the address | 01/01/70 00:00 | |
Read Murray's excellent Help Files | 01/01/70 00:00 | |
Incorrect reply | 01/01/70 00:00 | |
Please take some time to READ the Help | 01/01/70 00:00 | |
single byte read write working | 01/01/70 00:00 | |
I2C_0.1.zip released!![]() | 01/01/70 00:00 |