i2cdev
is depreciated and will be removed in a future version.
Use device
instead.
Create an i2cdev object to communicate to the i2c port on a connected arduino.
ar - connected arduino object
address - address to use for device on I2C bus.
propname, propvalue - property name/value pair for values to pass to devices.
Currently known properties:
bus number (when arduino board supports multiple I2C buses) with value of 0 or 1.
dev - new created i2cdev object.
The i2cdev object has the following public properties:
The parent (arduino) for this device
pins used by this object
bus used for created object
I2C address set for object
See also: arduino.
Package: arduino