Reference

Library

Communication Protocol Description

The sensor supports IIC communication.

API Description

/**
 * @brief Get the measured temperature (in degrees Celsius).
 * @return Return the temperature data of float type. 
 */
float getTemperatureC();

/**
 * @brief Get the measured temperature (in degrees Fahrenheit).
 * @return Return the temperature data of float type. 
 */
float getTemperatureF();

/**
 * @brief Get measured humidity(%RH).
 * @return Return the humidity data of float type.
 */
float getHumidityRH();

Other Supplementary Information

Was this article helpful?

TOP