An example program driving the AnalogOut. Connect a pair of earphones!
Dependencies: mbed
Fork of app-board-AnalogOut by
Diff: main.cpp
- Revision:
- 1:754db1ff50f2
- Parent:
- 0:1a38bf78f122
- Child:
- 2:1b650317539d
--- a/main.cpp Tue Oct 16 13:40:24 2012 +0000 +++ b/main.cpp Tue Jun 18 11:15:37 2013 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" AnalogOut Aout(p18); -AnalogIn pot1(p20); +AnalogIn pot1(p19); int main() {