MMA8451 Open

Open the I2C master and initialize the MMA8451 accelerometer with 14-bit resolution and +-2g mode.

If the LINX device has more than one I2C master the logical first I2C master is channel 0, the next is channel 1, etc.

Orignal code contributed by SEbstein.


I2C Channel
Specifies the I2C channel that the MMA8451 is connected to.

LINX Resource
Contains LINX connection resources.

I2C Slave Address (0)
Specifies the I2C slave address of the MMA8451.

Error In
Describes error conditions that occur before this node runs. This input provides standard error in functionality.


LINX Resource
Contains LINX connection resources.

Indicates if the MMA8451 was successfully opened.

Error Out
Contains error information. This output provides standard error out functionality.