EasyManua.ls Logo

Element14 mi:node - Page 15

Default Icon
32 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User Manual V3.1
Element14 | element14.com/minode 15
Function
onDHTEvent(connName: ConnName, body: () => void): void;
Parameters
‘ConnName is the analog connector's name.
EXAMPLE:
Pressing Buttons to Display Temperature and Humidity
This example shows you how to use Buttons A and B to obtain the temperature and
humidity of the surrounding environment. When Button A is press the screen will show
the current temperature. When Button B is pressed, it will show the humidity
Temperature Change Notification Smiley Face
Display a smiley face on the LED screen when the temperature changes.