EasyManua.ls Logo

SunFounder 3in1 Kit - Page 312

Default Icon
351 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...
SunFounder 3in1 Kit
6. If you want to use Blynk on mobile devices, please refer to How to use Blynk on mobile device?.
How it works?
These two functions are used to get the temperature, humidity and light intensity of the room.
int readLight(){
return analogRead(lightPin);
}
bool readDHT() {
// Reading temperature or humidity takes about 250 milliseconds!
// Sensor readings may also be up to 2 seconds 'old' (it's a very slow sensor)
(continues on next page)
308 Chapter 6. IoT Projects

Related product manuals