![]() |
i2c
1.4.2
RoadNarrows Robotics I2C Package
|
i2cscan - I2C Bus Scan
i2cscan [OPTIONS]
The i2cscan command scans the specified I2C Bus for all attached devices. The I2C addresses of all found devices are written to stdout
in ASCII hex format.
-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.
Exit status is 0 if devices are found, 1 otherwise. Exit status is >= 2 if error(s) are encountered.
I2CCHECK(1), I2CREAD(1), I2CTRANS(1), I2CWRITE(1)
Robin Knight (robin) .kni ght@r oadn arrow s.co m
(C) 2007. RoadNarrows LLC. (http://www.roadnarrows.com)
All Rights Reserved