文件名称:Temp 2
介绍说明--下载内容来自于网络,使用问题请自行百度
//温度test
#include <dht.h>
dht DHT11;
#define PIN_DHT11 10
void setup()
{
Serial.begin(9600);
}
void loop()
{
DHT11.read(PIN_DHT11);
Serial.print("Humidity (%): ");
Serial.println((float)DHT11.humidity, 2);
Serial.print("Temperature (oC): ");
Serial.println((float)DHT11.temperature, 2);
delay(500);
}(//temperature test
#include <dht.h>
dht DHT11;
#define PIN_DHT11 10
void setup()
{
Serial.begin(9600);
}
void loop()
{
DHT11.read(PIN_DHT11);
Serial.print("Humidity (%): ");
Serial.println((float)DHT11.humidity, 2);
Serial.print("Temperature (oC): ");
Serial.println((float)DHT11.temperature, 2);
delay(500);
})
#include <dht.h>
dht DHT11;
#define PIN_DHT11 10
void setup()
{
Serial.begin(9600);
}
void loop()
{
DHT11.read(PIN_DHT11);
Serial.print("Humidity (%): ");
Serial.println((float)DHT11.humidity, 2);
Serial.print("Temperature (oC): ");
Serial.println((float)DHT11.temperature, 2);
delay(500);
}(//temperature test
#include <dht.h>
dht DHT11;
#define PIN_DHT11 10
void setup()
{
Serial.begin(9600);
}
void loop()
{
DHT11.read(PIN_DHT11);
Serial.print("Humidity (%): ");
Serial.println((float)DHT11.humidity, 2);
Serial.print("Temperature (oC): ");
Serial.println((float)DHT11.temperature, 2);
delay(500);
})
相关搜索: arduino
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
Temp | 0 | 2018-02-10 |
Temp\IMG_9998.JPG | 1912350 | 2018-02-10 |
__MACOSX | 0 | 2018-02-10 |
__MACOSX\Temp | 0 | 2018-02-10 |
__MACOSX\Temp\._IMG_9998.JPG | 329 | 2018-02-10 |
Temp\Temp.ino | 345 | 2018-02-01 |
__MACOSX\._Temp | 210 | 2018-02-10 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.