Code for Part8

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
bjs9
Date:
Wed Jan 31 01:06:37 2018 +0000
Parent:
2:8ec5d78d7ad9
Commit message:
change pin number for pentometer

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jan 31 01:03:06 2018 +0000
+++ b/main.cpp	Wed Jan 31 01:06:37 2018 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 
 PwmOut myled(p26);
-AnalogIn mypotentiometer(p20);
+AnalogIn mypotentiometer(p15);
 int main()
 {
     while(1) {