John Scharf
/
Hat_Board_v5
accel now workin
Fork of Hat_Board_Test by
Diff: SI_LIS.cpp
- Revision:
- 4:e9df42113893
- Parent:
- 3:8334f137c151
--- a/SI_LIS.cpp Fri Mar 21 01:13:05 2014 +0000 +++ b/SI_LIS.cpp Thu Apr 03 07:31:24 2014 +0000 @@ -133,7 +133,7 @@ // Nib 1 of 0101: Normal mode, 100 Hz; Nib 2 of 0111: Normal mode, XYZ enabled // Reg_Val = 0x57; // Nib 1 of 0101: Normal mode, 100 Hz; Nib 2 of 0111: Normal mode, XYZ enabled // Nib 1 of 0111: 400 Hz; Nib 2 of 0111: XYZ enabled - Reg_Val = 0x77; + Reg_Val = 0x97; //0x77 is 400 hz -- 0x97 is 1.2 khz data[0] = Reg_Num; //register to be written to data[1] = Reg_Val; //data