Mercurial > public > ostc4
comparison Small_CPU/Inc/i2c.h @ 180:9ecc2e60418d Cleanup_Compass_Wireless
Removed not used compass code
Code was prepared for usage of LSM303DLHCTR but at the end the OSTC4 was never equipped with this chip
author | ideenmodellierer |
---|---|
date | Wed, 13 Mar 2019 21:49:25 +0100 |
parents | e9cce686fe41 |
children | cb3870f79e9d |
comparison
equal
deleted
inserted
replaced
179:a492a7a457b7 | 180:9ecc2e60418d |
---|---|
8 /* Compass/Accelerometer */ | 8 /* Compass/Accelerometer */ |
9 #define DEVICE_ACCELARATOR_MMA8452Q 0x38 // Hardware gen 1 (Two chip solution with MMA8452Q and HMC5883L) | 9 #define DEVICE_ACCELARATOR_MMA8452Q 0x38 // Hardware gen 1 (Two chip solution with MMA8452Q and HMC5883L) |
10 #define DEVICE_COMPASS_HMC5883L 0x3C // Hardware gen 1 | 10 #define DEVICE_COMPASS_HMC5883L 0x3C // Hardware gen 1 |
11 | 11 |
12 #define DEVICE_COMPASS_303D 0x3C // Hardware gen 2 (Single chip solution LSM303D) | 12 #define DEVICE_COMPASS_303D 0x3C // Hardware gen 2 (Single chip solution LSM303D) |
13 #define DEVICE_ACCELARATOR_303DLHC 0x32 // Hardware gen 2 (Single chip solution LSM303DLHC) | |
14 #define DEVICE_COMPASS_303AGR 0x3C // Hardware gen 3 (Single chip solution LSM303AGR) | 13 #define DEVICE_COMPASS_303AGR 0x3C // Hardware gen 3 (Single chip solution LSM303AGR) |
15 | 14 |
16 /* Battery Gas Gauge */ | 15 /* Battery Gas Gauge */ |
17 #define DEVICE_BATTERYGAUGE 0xC8 // LTC2941 battery gauge | 16 #define DEVICE_BATTERYGAUGE 0xC8 // LTC2941 battery gauge |
18 | 17 |