compiled unsuccessful but not sure if it works
Fork of LSM6DS3 by
Revision 3:d5307f077753, committed 2016-02-25
- Comitter:
- adam_z
- Date:
- Thu Feb 25 07:49:16 2016 +0000
- Parent:
- 2:c19d384b2896
- Commit message:
- come and get it
Changed in this revision
LSM6DS3.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/LSM6DS3.cpp Tue Feb 23 08:48:56 2016 +0000 +++ b/LSM6DS3.cpp Thu Feb 25 07:49:16 2016 +0000 @@ -82,7 +82,7 @@ //DigitalOut cs((PinName)chipSelectPin); // Maximum SPI frequency is 10MHz, could divide by 2 here: - spi_.frequency(5000000); + spi_.frequency(1000000); // Data is read and written MSb first. spi_.format(8,0); // Data is captured on rising edge of clock (CPHA = 0)