fooling around with sample rate
Dependents: Proximity_Sensor_2_sense Proximity_Sensor_2_detect Proximity_Sensor_2_detect
Fork of SI1143 by
Revision 14:1aeb48290043, committed 2014-06-21
- Comitter:
- mfillinois
- Date:
- Sat Jun 21 20:12:28 2014 +0000
- Parent:
- 13:72876499ffef
- Commit message:
- Prints data over bluetooth after a run
Changed in this revision
SI1143.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 72876499ffef -r 1aeb48290043 SI1143.cpp --- a/SI1143.cpp Mon Jun 16 15:03:53 2014 +0000 +++ b/SI1143.cpp Sat Jun 21 20:12:28 2014 +0000 @@ -105,7 +105,7 @@ write_reg(IRQ_MODE1,0); write_reg(IRQ_MODE2,0); - write_reg(MEAS_RATE,0x84); //0x84 - wakes up every 10 ms + write_reg(MEAS_RATE,0xA0); //0x84 - wakes up every 10 ms write_reg(PS_RATE,0x08); //0x8 - wakes up every time measurement clock wakes up //write_reg(PS_ADC_MISC,0x24);