sht20 (community library)

Summary

Name Value
Name sht20
Version 1.0.0
Installs 4930
Download .tar.gz

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

DFRobot_SHT20 Library for Arduino

Provides an Arduino library for SHT20 Humidity And Temperature Sensor

Table of Contents

Summary

The library is used to Use the SHT20 Sensor to obtain humidity and temperature.

Methods


/*
* @brief Init SHT20 Sensor
*/
void initSHT20(void);

/*
* @brief Check SHT20 Sensor
*/
void checkSHT20(void);

/*
* @brief Read humidity
*
* @return The value of humidity
*/
float readHumidity(void);

/*
* @breif Read Temperature
*
* @return The value of temperature
*/
float readTemperature(void);

History

  • data 2017-9-12
  • version V1.0

Credits

Browse Library Files