BME280 environmental recorder
Dependencies: BME280 SB1602E SDFileSystem mbed
Revision 1:8d7984b2e2bc, committed 2016-01-29
- Comitter:
- MACRUM
- Date:
- Fri Jan 29 15:01:24 2016 +0000
- Parent:
- 0:7cbf615a0467
- Commit message:
- Change recording duration
Changed in this revision
SB1602E.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7cbf615a0467 -r 8d7984b2e2bc SB1602E.lib --- a/SB1602E.lib Sat Apr 11 15:49:47 2015 +0000 +++ b/SB1602E.lib Fri Jan 29 15:01:24 2016 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/users/MACRUM/code/SB1602E/#baf578069dfc +http://developer.mbed.org/users/MACRUM/code/SB1602E/#c4216ef28143
diff -r 7cbf615a0467 -r 8d7984b2e2bc main.cpp --- a/main.cpp Sat Apr 11 15:49:47 2015 +0000 +++ b/main.cpp Fri Jan 29 15:01:24 2016 +0000 @@ -61,7 +61,7 @@ } #if USE_SDCARD count++; - if ((count % 60) == 0) { + if ((count % (60 * 5)) == 0) { fprintf(fp, "%2.2f,%2.2f,%4.1f\r\n", temp, humd, pres); fflush(fp); count = 0;