Toggle the LED of the LPC1768 using an electret microphone

Dependencies:   mbed

Committer:
faif
Date:
Sun Jun 04 11:50:37 2017 +0000
Revision:
0:01301c8c38ab
Toggle the LED of lpc1768 using an electret microphone

Who changed what in which revision?

UserRevisionLine numberNew contents of line
faif 0:01301c8c38ab 1 #ifndef SOUND_SWITCH_H
faif 0:01301c8c38ab 2 #define SOUND_SWITCH_H
faif 0:01301c8c38ab 3
faif 0:01301c8c38ab 4 AnalogIn mic(p20);
faif 0:01301c8c38ab 5 DigitalOut myled(LED4);
faif 0:01301c8c38ab 6
faif 0:01301c8c38ab 7 void toggle_state(DigitalOut& state);
faif 0:01301c8c38ab 8
faif 0:01301c8c38ab 9 #endif