Quote:
Originally Posted by theprgramerdude
Does the built-in ADXL345_I2C class do this automatically when the constructor is called, or do we have to do something else, like use the I2C class?
|
It does it for you; take a peak at the ADXL345_I2C source code and you can see it right there.
Code:
m_i2c.write(kPowerCtlRegister, kPowerCtl_Measure);