library mma8452

Dependents:   APP3_Capteur_V2

Fork of MMA8452 by Ashley Mills

Files at this revision

API Documentation at this revision

Comitter:
EtienneB
Date:
Fri Sep 29 19:54:58 2017 +0000
Parent:
21:a92a632a0cc7
Commit message:
removed the init printf;

Changed in this revision

MMA8452.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MMA8452.cpp	Fri Mar 07 14:53:40 2014 +0000
+++ b/MMA8452.cpp	Fri Sep 29 19:54:58 2017 +0000
@@ -30,7 +30,6 @@
 
 // Connect module at I2C address using I2C port pins sda and scl
 MMA8452::MMA8452(PinName sda, PinName scl, int frequency) : _i2c(sda, scl) , _frequency(frequency) {
-   MMA8452_DBG("Creating MMA8452");
    
    // set I2C frequency
    _i2c.frequency(_frequency);
@@ -45,7 +44,6 @@
    _dynamicRange = DYNAMIC_RANGE_UNKNOWN;
    setDynamicRange(DYNAMIC_RANGE_2G);
    
-   MMA8452_DBG("Done");
 }