When I try to follow the scripting for I2C read it says to enter the information like as follows
$val = I2CRead(0, 0x68, 1). now when I do this I get an error that I need to enter 4 values and that that I entered only 3.
second thing is I am trying to read values from an accelerometer (mpu 6050) how do i read from a specific register rather than the 7 bit device address.
any help would be appreciated. Thanks