Sampling, Timestamp storage
Dependencies: SDFileSystem mbed
Diff: DNDDemoCode161114.cpp
- Revision:
- 1:8e8aa4dc0788
- Parent:
- 0:79ed1a99225f
--- 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);