
OLIMEX© 2015
MOD-IO2 user's manual
- Reading all analog IOs:
i2cset –y 2 0x21 0x01
i2cget –y 2 0x21
Detailed explanation of the preloaded software may be found in the demo package available at our
web-page.
- Changing I2C device address – if you use more than one MOD-IO2 (available since MOD-
IO2's firmware revision 3.02)
i2cset 2 0x21 0xHH
where
HH is new address in hexadecimal format
Note that PROG jumper must be closed to be able to change the address.
If you forget the number of the address you can use the modio2tool to find the address, the
command and parameter would be "modio2tool -l". You can also reset the default address (0x21)
with the command and parameter "modio2tool -X".
Page 13 of 28