Sakis Kasampalis
/
human-detector
using just a pot and tinfoil
Diff: human_detector.h
- Revision:
- 0:6e8da69e6440
diff -r 000000000000 -r 6e8da69e6440 human_detector.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/human_detector.h Sat Nov 19 22:38:58 2016 +0000 @@ -0,0 +1,14 @@ +#ifndef HUMAN_DETECTOR_H +#define HUMAN_DETECTOR_H + +DigitalIn potin(p20); +DigitalOut potout(p19); +DigitalOut led(LED4); + +Serial pc(USBTX, USBRX); + +void clear_screen(); +void init(DigitalOut& pot, DigitalOut& led); +void alarm(DigitalOut& led); + +#endif \ No newline at end of file