Forked MMA7660 , extend implementation by using i2c asynch API, to sleep while waiting for transfer -> blocking asynch :-D

Fork of MMA7660 by Erik -

Revision:
4:36a163511e34
Parent:
3:89cb08cc663b
Child:
5:556829f081f6
--- a/MMA7660.cpp	Tue May 13 18:12:59 2014 +0000
+++ b/MMA7660.cpp	Tue May 13 18:14:34 2014 +0000
@@ -110,7 +110,6 @@
 MMA7660::Orientation MMA7660::getSide( void )
 {
     char tiltreg = read(MMA7660_TILT_R);
-    printf("Reg = %d\r\n", tiltreg);
     //We care about 2 LSBs
     tiltreg &= 0x03;
     if (tiltreg == 0x01)