An example program driving the AnalogOut. Connect a pair of earphones!

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
chris
Date:
Tue Jun 18 11:15:37 2013 +0000
Parent:
0:1a38bf78f122
Commit message:
Updated incorrected pot pin mapping

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1a38bf78f122 -r 754db1ff50f2 main.cpp
--- 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()
 {