OSURoboticsClub / aerial_control

Aerial vehicle firmware
MIT License
2 stars 4 forks source link

Add magnetometer functionality to LSM303DLHC #34

Closed kylc closed 9 years ago

kylc commented 9 years ago

The sensor has two I2C devices (and therefore two I2C addresses) built in (one for accel, one for mag). The I2CDevice class only supports one right now. So, should we pull out separate LSM303Accel and LSM303Mag classes, or somehow make a single I2CDevice instance support switching addresses.

Leaning towards number 2 so we don't have to worry about initializers stepping on each other.

kylc commented 9 years ago

LSM303DLHC is now split into LSM303DLHC and LSM303DLHCMag. Waiting to merge.

kylc commented 9 years ago

Merged.