Sakis Kasampalis
/
sound-switch
Toggle the LED of the LPC1768 using an electret microphone
Diff: sound_switch.h
- Revision:
- 0:01301c8c38ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sound_switch.h Sun Jun 04 11:50:37 2017 +0000 @@ -0,0 +1,9 @@ +#ifndef SOUND_SWITCH_H +#define SOUND_SWITCH_H + +AnalogIn mic(p20); +DigitalOut myled(LED4); + +void toggle_state(DigitalOut& state); + +#endif \ No newline at end of file