Forked MMA7660 , extend implementation by using i2c asynch API, to sleep while waiting for transfer -> blocking asynch :-D
Fork of MMA7660 by
Revision 4:36a163511e34, committed 2014-05-13
- Comitter:
- Sissors
- Date:
- Tue May 13 18:14:34 2014 +0000
- Parent:
- 3:89cb08cc663b
- Child:
- 5:556829f081f6
- 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)
