4180 LabTeam - Spring '18 / Mbed 2 deprecated Lab1_Part8

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
bjs9
Date:
Wed Jan 31 01:03:06 2018 +0000
Parent:
1:ee5499cdec7f
Child:
3:ad424e0436e5
Commit message:
change to pwm

Changed in this revision

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