Pin usage: MOSI(D4), MISO(D5), SCK(D3), CS(D6), format(8, 3) Test OK.

Fork of LSM6DS3 by LDSC_Robotics_TAs

Files at this revision

API Documentation at this revision

Comitter:
YCTung
Date:
Sat Feb 27 07:41:02 2016 +0000
Parent:
4:581a95e9c796
Commit message:
Change line 133 in LSM6DS3.h to SPI_MODE, pin D6

Changed in this revision

LSM6DS3.h Show annotated file Show diff for this revision Revisions of this file
--- a/LSM6DS3.h	Thu Feb 25 15:28:34 2016 +0000
+++ b/LSM6DS3.h	Sat Feb 27 07:41:02 2016 +0000
@@ -130,7 +130,7 @@
 
     //Constructor generates default SensorSettings.
     //(over-ride after construction if desired)
-    LSM6DS3( uint8_t busType = I2C_MODE, uint8_t inputArg = 0x6B );
+    LSM6DS3( uint8_t busType = SPI_MODE, uint8_t inputArg = D6 );
 //    ~LSM6DS3() = default;
     
     //Call to apply SensorSettings