Sakis Kasampalis
/
human-detector
using just a pot and tinfoil
human_detector.h
- Committer:
- faif
- Date:
- 2016-11-19
- Revision:
- 0:6e8da69e6440
File content as of revision 0:6e8da69e6440:
#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