Added printing of data to the end of session not during session
Fork of SI1141_auto_sense by
Revision 12:a7ec3a43a4a0, committed 2014-06-13
- Comitter:
- mfillinois
- Date:
- Fri Jun 13 16:56:35 2014 +0000
- Parent:
- 11:f90ed8f6f38b
- Commit message:
- Added an array to store data (avoid bluetooth transfer) and print at the end of the session
Changed in this revision
SI1143.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SI1143.cpp Thu Jun 12 20:56:59 2014 +0000 +++ b/SI1143.cpp Fri Jun 13 16:56:35 2014 +0000 @@ -105,7 +105,7 @@ write_reg(IRQ_MODE1,0); write_reg(IRQ_MODE2,0); - write_reg(MEAS_RATE,0xFF); //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);