<< ld_I2CDevice_Write I2C Random >>

ORTD Scilab Interface Toolbox >> I2C > ld_I2CDevice_shObj

ld_I2CDevice_shObj

I2C device connection

Calling Sequence

[sim] = ld_I2CDevice_shObj(sim, events, ObjectIdentifyer, Visibility, I2CDevicename, I2Caddr)

Description

This function creates a shared object for I2C communications

using the linux kernel&apos;s I2C-interface. (linux/i2c-dev.h, linux/i2c.h

https://www.kernel.org/doc/Documentation/i2c/dev-interface )

Hardware supporting this interface is e.g. available at the following systems

*) Beaglebone

*) Rasperry Pi

An I2C device at adress I2Caddr ( numbering as used by i2cdetect; Please compare to other notations!)

is opened via the I2C-bus given by I2CDevicename (e.g. &quot;/dev/i2c-0", "/dev/i2c-1", ...)

Currently there are only functions for writing to the bus.


Report an issue
<< ld_I2CDevice_Write I2C Random >>