reading from 6 sensors and packaging the data

Dependents:   LSM303D_SPI

Files at this revision

API Documentation at this revision

Comitter:
hassan_elahi
Date:
Mon Mar 23 19:18:57 2015 +0000
Parent:
1:3948b63ff4bd
Commit message:
asfdsd

Changed in this revision

LSM303D.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LSM303D.cpp	Thu Mar 19 20:52:09 2015 +0000
+++ b/LSM303D.cpp	Mon Mar 23 19:18:57 2015 +0000
@@ -70,7 +70,7 @@
         //CTRL1
         cs=0;   //talk to compass
         mspi.write(0x20);
-        mspi.write(0x67);  //50Hz, continuous update, all axes enabled
+        mspi.write(0x67);  //100Hz, continuous update, all axes enabled
         cs=1;   //done talking