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.
HIH4030/HIH4030.h@0:feaa05d35ccf, 2012-03-07 (annotated)
- Committer:
- AlexAllen
- Date:
- Wed Mar 07 20:02:35 2012 +0000
- Revision:
- 0:feaa05d35ccf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AlexAllen | 0:feaa05d35ccf | 1 | #ifndef HUMIDITY |
AlexAllen | 0:feaa05d35ccf | 2 | |
AlexAllen | 0:feaa05d35ccf | 3 | #include "mbed.h" |
AlexAllen | 0:feaa05d35ccf | 4 | |
AlexAllen | 0:feaa05d35ccf | 5 | class HIH4030 : private AnalogIn |
AlexAllen | 0:feaa05d35ccf | 6 | { |
AlexAllen | 0:feaa05d35ccf | 7 | public: |
AlexAllen | 0:feaa05d35ccf | 8 | |
AlexAllen | 0:feaa05d35ccf | 9 | HIH4030(PinName pin) : AnalogIn(pin) {}; |
AlexAllen | 0:feaa05d35ccf | 10 | float getH(float temp); |
AlexAllen | 0:feaa05d35ccf | 11 | }; |
AlexAllen | 0:feaa05d35ccf | 12 | |
AlexAllen | 0:feaa05d35ccf | 13 | #define HUMIDITY 1 |
AlexAllen | 0:feaa05d35ccf | 14 | #endif |