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.
Fork of ele350 by
Diff: Led.cpp
- Revision:
- 17:e92adffd15c7
- Parent:
- 16:085b9b2a9343
diff -r 085b9b2a9343 -r e92adffd15c7 Led.cpp
--- a/Led.cpp Thu Nov 19 13:11:55 2015 +0000
+++ b/Led.cpp Thu Nov 19 13:28:08 2015 +0000
@@ -12,6 +12,8 @@
} else if(name == "blue") {
this->pinName = PD_15;
}
+
+ pin = new DigitalOut (pinName);
}
void Led::On()
{
