Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Terminal TextLCD mbed SDFileSystem
Revision 1:ce4b3a504955, committed 2011-05-04
- Comitter:
- abe00makoto
- Date:
- Wed May 04 19:37:08 2011 +0000
- Parent:
- 0:0d32a6635113
- Commit message:
Changed in this revision
| geiger.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0d32a6635113 -r ce4b3a504955 geiger.cpp
--- a/geiger.cpp Wed May 04 18:58:09 2011 +0000
+++ b/geiger.cpp Wed May 04 19:37:08 2011 +0000
@@ -11,7 +11,7 @@
#define AVARAGE_MIN 5
//sleeptime after a minute cout
-#define SLEEP_SEC 60
+#define SLEEP_SEC 30
//if sdcard not use commentout #define SD_USE
#define SD_USE
@@ -99,7 +99,8 @@
cpm+=cpm_array[i];
}
cpm/=(first_touch_index+1);
- usv=cpm/20.0;
+ //si-3bg is maybe 200 cps/R/h = 200 cps/ 10000uSv/h = 0.02 cps/uSv/h
+ usv=cpm/60.0*0.02;
//peak usv set
if(peak_usv<usv)