Sampling, Timestamp storage
Dependencies: SDFileSystem mbed
Revision 1:8e8aa4dc0788, committed 2014-11-17
- Comitter:
- FahdAnsary
- Date:
- Mon Nov 17 06:55:04 2014 +0000
- Parent:
- 0:79ed1a99225f
- Commit message:
- sampling frequency changed to 20 sec
;
Changed in this revision
DNDDemoCode161114.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/DNDDemoCode161114.cpp Sun Nov 16 12:23:22 2014 +0000 +++ b/DNDDemoCode161114.cpp Mon Nov 17 06:55:04 2014 +0000 @@ -4,7 +4,7 @@ #define freq 1 #define time_interval_sec 30 -#define dur_sec 1 +#define dur_sec 20 Ticker int1; Ticker int2; Ticker int3; @@ -321,7 +321,7 @@ pc.printf("Hello\r\n"); wait(2); - + int1.attach(&temp_val,10); int2.attach(&calculate_ADC,179); int3.attach(&reset_mod,3601);