ネットワークアップデート機能とか、Pachubeへの情報登録とかの処理を追加しています
Dependencies: Terminal EthernetNetIf Pachube TextLCD mbed ConfigFile FirmwareUpdater
geigercounter_ci_3bg.h@1:1eb67d074bed, 2011-06-06 (annotated)
- Committer:
- abe00makoto
- Date:
- Mon Jun 06 19:56:43 2011 +0000
- Revision:
- 1:1eb67d074bed
- Parent:
- 0:a62f36392b9b
add set_time function. for fist use mbed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
abe00makoto | 0:a62f36392b9b | 1 | #ifndef MBED_GEIGERCOUNTER_CI_3BG_H |
abe00makoto | 0:a62f36392b9b | 2 | #define MBED_GEIGERCOUNTER_CI_3BG_H |
abe00makoto | 0:a62f36392b9b | 3 | #include "geigercounter.h" |
abe00makoto | 0:a62f36392b9b | 4 | |
abe00makoto | 0:a62f36392b9b | 5 | |
abe00makoto | 0:a62f36392b9b | 6 | class Geigercounter_CI_3BG:public Geigercounter{ |
abe00makoto | 0:a62f36392b9b | 7 | |
abe00makoto | 0:a62f36392b9b | 8 | public: |
abe00makoto | 0:a62f36392b9b | 9 | |
abe00makoto | 0:a62f36392b9b | 10 | Geigercounter_CI_3BG(PinName pin,PinName spin):Geigercounter(pin,spin){} |
abe00makoto | 0:a62f36392b9b | 11 | |
abe00makoto | 0:a62f36392b9b | 12 | float getusv(){ |
abe00makoto | 0:a62f36392b9b | 13 | //si-3bg is maybe 200 cps/R/h = 200 cps/ 10000uSv/h = 0.02 cps/uSv/h |
abe00makoto | 0:a62f36392b9b | 14 | //usv=cpm/60.0/0.02; |
abe00makoto | 0:a62f36392b9b | 15 | return getcpm()/1.7; |
abe00makoto | 0:a62f36392b9b | 16 | } |
abe00makoto | 0:a62f36392b9b | 17 | |
abe00makoto | 0:a62f36392b9b | 18 | }; |
abe00makoto | 0:a62f36392b9b | 19 | |
abe00makoto | 0:a62f36392b9b | 20 | |
abe00makoto | 0:a62f36392b9b | 21 | #endif |