a library that provides a connection to a SHT21 temperature and humidity sensor Author: Graeme Coapes - Newcastle University, graeme.coapes@ncl.ac.uk Date: 29/11/12
Dependents: test_ncleee WeatherStation Temp_hum PROJ ... more
Diff: SHT21_ncleee.h
- Revision:
- 2:1411bb5e8c0a
- Parent:
- 1:73fc5aef174e
- Child:
- 3:03bbabb7b0b0
--- a/SHT21_ncleee.h Thu Nov 29 10:48:06 2012 +0000 +++ b/SHT21_ncleee.h Thu Nov 29 10:51:56 2012 +0000 @@ -16,17 +16,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/** - * SHT21 - Temperature and Humidity Sensor by Sensiron - * - * This is a driver to connect to the sensor using an mbed device through an I2C interface - * - * Author: Graeme Coapes - Newcastle University - * Email: graeme.coapes@ncl.ac.uk - * - * Date: 28/11/2012 - * - */ #include "mbed.h" @@ -114,8 +103,8 @@ * * pc.printf("Experiment complete...\n"); * - } - + * } + * * @endcode * * @@ -169,15 +158,15 @@ /** * Set the precision of the measuring * - * //Data precision settings - * //RH 12 T 14 - default - * #define SHT_PREC_1214 0x00 - * //RH 8 T 10 - * #define SHT_PREC_0812 0x01 - * //RH 10 T 13 - * #define SHT_PREC_1013 0x80 - * //RH 11 T 11 - * #define SHT_PREC_1111 0x81 + * //Data precision settings \n + * //RH 12 T 14 - default \n + * #define SHT_PREC_1214 0x00 \n + * //RH 8 T 10 \n + * #define SHT_PREC_0812 0x01 \n + * //RH 10 T 13 \n + * #define SHT_PREC_1013 0x80 \n + * //RH 11 T 11 \n + * #define SHT_PREC_1111 0x81 \n * * @param precision - the precision, refer to above or datasheet. *