Library for the MMA7660 triple axis accelerometer

Dependents:   Websocket_Ethernet_acc app-board-Sprint-WS-Acc app-board-Ethernet-Websocket app-board-Wifly-Websocket ... more

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Tue May 13 18:14:34 2014 +0000
Parent:
3:89cb08cc663b
Commit message:
Debug code removed...

Changed in this revision

MMA7660.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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)