User Activity

Posted on January 13, 2014 at 18:35All the example code I've seen reads the acceleration and magnetic field values by polling the appropriate registers.For example:x.l = i2c_read(OUT_X_L_A);x.h = i2c_read(OUT_X_H_A);y.l = i2c_read(OUT_Y_L_A);y.h = i...