4,199
edits
Changes
m
For example, the <section end=play />==IGEPv2 Expansion==<section begin=igepv2exp />The following writes the value 0x22 to register 0x10 of device 0x50 on i2c bus 2:
→Play with EEPROM memory
<pre>i2cget <bus> <chip> <register>
i2cset <bus> <chip> <register> <value></pre>
<pre>i2cset -f -y 2 0x50 0x10 0x22
i2cget -f -y 2 0x50 0x10</pre> <section end=play igepv2exp /> ==IGEP PARIS Expansion==<section begin=paris />The following writes the value 0x22 to register 0x10 of device 0x51 on i2c bus 3: <pre>i2cset -f -y 3 0x51 0x10 0x22i2cget -f -y 3 0x51 0x10</pre><section end=paris /> ==IGEP BERLIN Expansion==<section begin=berlin />The following writes the value 0x22 to register 0x10 of device 0x51 on i2c bus 3: <pre>i2cset -f -y 3 0x51 0x10 0x22i2cget -f -y 3 0x51 0x10</pre><section end=berlin />
= Know more=
<section begin=know_more />
See also: i2dump(8), i2cget(8) and i2cset(8) man page
<section end=know_more />