- Category:
- SCM
- Tags:
-
[MacOS]
- File Size:
- 1.82mb
- Update:
- 2018-02-10
- Downloads:
- 0 Times
- Uploaded by:
- yaobin
Description: //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);
}
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
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 |