Auto Shut-off safety system for stove
Dependencies: mbed Motordriver DHT
Revision 2:29fb4e252925, committed 2019-03-18
- Comitter:
- lwettel
- Date:
- Mon Mar 18 19:59:32 2019 +0000
- Parent:
- 1:b63b3fcf72d1
- Commit message:
- Auto shut off safety system
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
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);