CMPS03 Compass library with only PWM support. I2C support will be added shortly, while it will arrive, you may use MBED component library if you wish to use CMPS03 I2C interface
Dependents: TestBoussole FRC_2018 0hackton_08_06_18 lib_FRC_2019 ... more
Diff: CMPS03.h
- Revision:
- 5:7bfdf8ff9c5e
- Parent:
- 4:ab9eadf7537a
--- a/CMPS03.h Tue Jun 05 13:53:47 2018 +0000 +++ b/CMPS03.h Wed Oct 23 11:17:17 2019 +0000 @@ -51,7 +51,7 @@ long _startTime, _stopTime; double _pwmBearing; - InterruptIn _boussole; + InterruptIn _compass; Timer _tim; void rise();