i2c  1.4.2
RoadNarrows Robotics I2C Package
I2CWRITE(1)

NAME

i2cwrite - Write bytes to a device on a I2C Bus

SYNOPSIS

i2cwrite [OPTIONS] byte1 [byte2 ...]

DESCRIPTION

Write bytes to a device on the I2C Bus.

RNR_OPTIONS

  -a, --address=<addr>        I2C device 7-bit address. REQUIRED.
  -d, --device=<device>       I2C device.
                                DEFAULT: /dev/i2c/0
      --fd=<n>                Opened I2C device file descriptor.
  -v, --verbose               Set print verbosity.
                                DEFAULT: false
  RNR_OPTIONS                 Standard set of options provided by librnr.

DIAGNOSTICS

Exit status is 0 if the bytes are successfully written. Exist status is >= 2 if error(s) are encountered.

SEE_ALSO

I2CCHECK(1) I2CREAD(1) I2CSCAN(1) I2CTRANS(1)

AUTHOR

Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)

COPYRIGHT

(C) 2007. RoadNarrows LLC. (http://www.roadnarrows.com)
All Rights Reserved