Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:netzer:i2c-master [2014/12/21 11:52] svesch Imported example from doxgen |
en:netzer:i2c-master [2014/12/21 16:07] svesch |
||
---|---|---|---|
Line 104: | Line 104: | ||
Take a look at the following picture for circuiting a I2C EEPROM IC as slave to Netzer. | Take a look at the following picture for circuiting a I2C EEPROM IC as slave to Netzer. | ||
- | \image html EEPROM_Example.gif Connecting a simple EEPROM to Netzer | ||
+ | <imgcaption eeprom_example|Connecting a simple EEPROM to Netzer>{{:eeprom_example.png?direct}}</imgcaption> | ||
- | ===== EEPROM slave address ===== | + | |
+ | |||
+ | ==== EEPROM slave address ==== | ||
The EEPROM has the slave address 0x50. | The EEPROM has the slave address 0x50. | ||
Line 113: | Line 115: | ||
- | ===== Writing to the EEPROM ===== | + | ==== Writing to the EEPROM ==== |
See the following byte sequence for writing a //0x55// to memory address 0 of the EEPROM: | See the following byte sequence for writing a //0x55// to memory address 0 of the EEPROM: | ||
Line 131: | Line 133: | ||
- | ===== Reading from EEPROM ===== | + | ==== Reading from EEPROM ==== |
<code> | <code> |