Im trying to work out I2C on the Photon, it appears the CLOCK_SPEED_400KHZ isn’t defined
Any ideas how to set the clock speed to 400khz? cant seem to read DMP data fast enough from a MPU6050
Im trying to work out I2C on the Photon, it appears the CLOCK_SPEED_400KHZ isn’t defined
Any ideas how to set the clock speed to 400khz? cant seem to read DMP data fast enough from a MPU6050
This will be fixed in the next release - the release is ready we are just waiting for some other supporting infrastructure to be ready.
For now, please add
#include "i2c_hal.h"
to the top of your sketch.
Thanks, i think that did the trick!