Usage: flx-i2c [OPTIONS] COMMAND
Read or write data (1 or 2 bytes) from/to an I2C device on a FELIX card,
with 'device' selected by name or I2C address.
Options:
  -c NUMBER          Use card indicated by NUMBER, default: 0
  -E                 Execute the command even if resources are locked
  -f                 Flush I2C read FIFO, before read or write
  -h                 Display help
  -V                 Display the version number
Commands:
  l[ist]  [all]                                       List available devices from the card used
                                                      or all (by adding 'all') card models.
  r[ead]  DEVICE_NAME                REG_ADDR         Read a byte from a known I2C device.
                                                      (see: flx-i2c list)
  r[ead]  PORT1:[PORT2:]DEV_ADDRESS  REG_ADDR         Read a byte from a known or unknown I2C
                                                      device providing port and address.
  w[rite] DEVICE_NAME                REG_ADDR  DATA   Write a byte to a known I2C device.
                                                      (see: flx-i2c list)
  w[rite] PORT1:[PORT2:]DEV_ADDRESS  REG_ADDR  DATA   Write a byte to a known or unknown I2C
                                                      device providing port and address.
 Use capital 'R' or 'W' (instead of 'r' and 'w') to read or write a 2-byte register.
