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 EthernetNetIf Pachube TextLCD mbed ConfigFile FirmwareUpdater
geigercounter_sbm_20.h@0:a62f36392b9b, 2011-05-17 (annotated)
- Committer:
- abe00makoto
- Date:
- Tue May 17 13:49:41 2011 +0000
- Revision:
- 0:a62f36392b9b
sbm-20 gm-tube support
pachube support
network update suport
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_SBM_20:public Geigercounter{ |
abe00makoto | 0:a62f36392b9b | 7 | |
abe00makoto | 0:a62f36392b9b | 8 | public: |
abe00makoto | 0:a62f36392b9b | 9 | |
abe00makoto | 0:a62f36392b9b | 10 | Geigercounter_SBM_20(PinName pin,PinName spin):Geigercounter(pin,spin){} |
abe00makoto | 0:a62f36392b9b | 11 | |
abe00makoto | 0:a62f36392b9b | 12 | float getusv(){ |
abe00makoto | 0:a62f36392b9b | 13 | |
abe00makoto | 0:a62f36392b9b | 14 | return (float)getcpm()/132.0; |
abe00makoto | 0:a62f36392b9b | 15 | } |
abe00makoto | 0:a62f36392b9b | 16 | |
abe00makoto | 0:a62f36392b9b | 17 | }; |
abe00makoto | 0:a62f36392b9b | 18 | |
abe00makoto | 0:a62f36392b9b | 19 | |
abe00makoto | 0:a62f36392b9b | 20 | #endif |