Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Revision 2:8ec5d78d7ad9, committed 2018-01-31
- 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()
{