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.
Dependents: Blinky_Tests Blinky_Tests_GreenTea1
Revision 1:5b51a271d47e, committed 2016-09-19
- Comitter:
- sarahmarshy
- Date:
- Mon Sep 19 19:52:49 2016 +0000
- Parent:
- 0:8fe86312b714
- Commit message:
- Force led low in constructor;
Changed in this revision
| Blinky.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Blinky.cpp Mon Sep 19 16:21:27 2016 +0000
+++ b/Blinky.cpp Mon Sep 19 19:52:49 2016 +0000
@@ -3,6 +3,7 @@
Blinky::Blinky(PinName led, int interval):
_led(led), _interval(interval){
stop_blink=false;
+ _led=1;
}
void Blinky::start(){
_blinker.start(this, &Blinky::blink_led);