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

Files at this revision

API Documentation at this revision

Comitter:
haarkon
Date:
Tue Jun 05 13:53:47 2018 +0000
Parent:
3:3e9586433ce5
Child:
5:7bfdf8ff9c5e
Commit message:
Cosmetic changes;

Changed in this revision

CMPS03.h Show annotated file Show diff for this revision Revisions of this file
--- a/CMPS03.h	Thu May 31 17:26:29 2018 +0000
+++ b/CMPS03.h	Tue Jun 05 13:53:47 2018 +0000
@@ -51,17 +51,12 @@
     long    _startTime, _stopTime;
     double  _pwmBearing;
 
-protected :
-
-    //I2C* _i2c;
     InterruptIn _boussole;
     Timer _tim;
 
     void rise();
     void fall();
 
-    //int  _i2cAddress;
-
 public :
 
     /**