User Manual V3.1
Element14 | element14.com/minode 14
Response time: 1/e (63%) 25℃,1m/s air
Temperature
Block API
Measure Temperature
Obtain the current temperature. This value can be configured the format of Celsius or
Fahrenheit.
Function
DHTGetTemperature(connName: ConnName, style: DHTTemStyle): number;
Parameters
‘ConnName’ is the connector's name.
‘style’ is the format of the temperature. You can choose Celsius or Fahrenheit.
Measure Humidity
Obtain the current humidity.
Function
DHTGetHumidity(connName: ConnName): number;
Parameters
‘ConnName’ is the connector's name.
Temperature Change Event
Check the temperature periodically and execute the associated code block whenever the
temperature changes. The smallest detectable unit of change is 1 degrees Celsius.