
Parameters
•
connName
is the analog connector's name.this module can be pluged into both
analog connector and digital connector.
Example
Use button to get the temperature and humidity
此示例顯示如何使用按鈕
A
和
B
獲取溫度和濕度。當您按下按鈕
A
時,屏幕將顯
示當前溫度,如果按鈕為
B
,則顯示濕度
This example show you how to use the button A and B to get the temperature and
humidity.When you press the button A the screen will show the current
temperature,if the button is B it will show the humidity.
Temperature change event
當溫度變化時,屏幕會顯示笑臉!
When the temperature changes the screen will show a smile face!