Library to access multiple giro - with ability to setup them when starting

Revision:
2:606d0965f546
Parent:
1:816ba6bfbb20
--- a/FXAS21002CQ.h	Sat Aug 01 05:22:46 2015 +0000
+++ b/FXAS21002CQ.h	Mon Aug 24 14:29:35 2015 +0000
@@ -181,7 +181,7 @@
     @endcode
  */
 
-/** FXOS8700Q driver class
+/** FXAS21002CQ driver class
  */
 class FXAS21002CQ : public MotionSensor
 {
@@ -198,7 +198,7 @@
     /** Read the ID from a whoAmI register
         @return The device whoAmI register contents
      */
-    uint8_t whoAmI(void) ;
+    virtual uint8_t whoAmI(void) ;
 
     virtual void enable(void) const;
     virtual void disable(void) const;
@@ -220,7 +220,8 @@
         @param i2c a configured i2c object
         @param addr addr of the I2C peripheral as wired
      */
-    FXAS21002CQ(I2C &i2c, uint8_t addr);
+    FXAS21002CQ(I2C &i2c, const uint8_t addr);
+    FXAS21002CQ(I2C &i2c, const uint8_t addr, const struct FXAS21002CQ_Config_struct &FXAS21002CQ_Config);
 
     /** FXAS21002CQ deconstructor
      */