
elec350
Fork of elec350 by
Diff: microphone.h
- Revision:
- 9:3801e1da153b
- Child:
- 10:021f19a9861f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/microphone.h Wed Oct 21 19:20:17 2015 +0000 @@ -0,0 +1,17 @@ +#ifndef _MICROPHONE_H_ +#define _MICROPHONE_H_ + +#include "mbed.h" + +class Microphone +{ + private: + bool isStarted; + public: + Microphone(); + void start(); + void stop(); + int8_t read(); +}; + +#endif \ No newline at end of file