FBRLogger final version
Dependencies: EthernetInterface MSCAN Nanopb SDFileSystem mbed-rtos mbed
Revision 12:8ab0f26e65df, committed 2013-05-11
- Comitter:
- veskokaradzhov
- Date:
- Sat May 11 11:39:57 2013 +0000
- Parent:
- 11:594a9f668ccf
- Commit message:
- Set logging interval to 10ms, changed line 210 using LOGGING_INTERVAL
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 594a9f668ccf -r 8ab0f26e65df main.cpp --- a/main.cpp Fri Mar 08 17:00:04 2013 +0000 +++ b/main.cpp Sat May 11 11:39:57 2013 +0000 @@ -15,7 +15,7 @@ #include "rtos.h" #include "MSCANHeader.h" -#define LOGGING_INTERVAL 0.025 +#define LOGGING_INTERVAL 10 #define ANALOG_SCALE 3.3 //potential divider scaling factor ~= 2/3 @@ -207,7 +207,7 @@ write_thread = new Thread(write, NULL, osPriorityLow, 10240); can_thread = new Thread(can_thread_start, NULL, osPriorityLow, 4096); - sample_timer.start(10); + sample_timer.start(LOGGING_INTERVAL);