![]() |
i2c
1.4.2
RoadNarrows Robotics I2C Package
|
i2ccheck - Check for a device on the I2C Bus.
i2ccheck [OPTIONS] –address <addr>
The i2ccheck command checks if an I2C device with the specified address exists on the I2C Bus.
-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. DEFAULT: -1 -v, --verbose Set print verbosity. DEFAULT: false RNR_OPTIONS Standard set of options provided by librnr.
Exit status is 0 if device is found, 1 otherwise. Exist status is >= 2 if error(s) are encountered.
I2CREAD(1), I2CSCAN(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