Auto Shut-off safety system for stove
Dependencies: mbed Motordriver DHT
Diff: main.cpp
- Revision:
- 2:29fb4e252925
- Parent:
- 1:b63b3fcf72d1
diff -r b63b3fcf72d1 -r 29fb4e252925 main.cpp --- a/main.cpp Fri Mar 08 17:32:33 2019 +0000 +++ b/main.cpp Mon Mar 18 19:59:32 2019 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #include "DHT.h" void motor(); -DHT sensor(D4, DHT11); +DHT sensor(D3, DHT11); Serial pc(USBTX, USBRX); // tx, rx DigitalIn pir(D4);