Go to advanced search

by alexraspi
Sun Apr 08, 2018 4:13 am
Forum: C/C++
Topic: LIS3MDL pigpio I2C multiple byte read - data does not update
Replies: 3
Views: 1589

LIS3MDL pigpio I2C multiple byte read - data does not update

I am trying to read the magnetometer data off the ST LIS3MDL using the pigpio library I2C library in C++, which requires me to read multiple consecutive registers. Each register is a byte, and each axis is 2 bytes, so I need to read 6 bytes from consecutive registers (OUT_X_L, OUT_X_H...). I can wri...

Go to advanced search