Zuerst mal: Der 24C08 ist kein 8kByte-Speicher!
Es sind 8kBit => 1024 Byte = 1kByte.
Bei mehr als 256 Byte braucht man dann zur Adressierung im EEPROM ein 2. Adressbyte.
Also etwa so:
Code:I2cstart 'start condition I2cwbyte Addressw 'slave address I2cwbyte AdresH 'adress of EEPROM (High) I2cwbyte AdresL 'adress of EEPROM (Low) I2cwbyte Value 'value to write I2cstop 'stop condition
Lesezeichen