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.
Diff: main.cpp
- Revision:
- 1:05e9a83b721c
- Parent:
- 0:516a9e85a3fb
- Child:
- 2:691ccdef6f1e
--- a/main.cpp Sun May 26 13:14:41 2013 +0000
+++ b/main.cpp Sun May 26 13:25:39 2013 +0000
@@ -16,6 +16,7 @@
/** OUTPUT DEVICES **/
DigitalOut led0(p21);
+DigitalOut led1(p22);
/** ANT DEFINES **/
#define MAX_BUFSIZE 64
@@ -134,10 +135,12 @@
while(1)
{
myLeds = statusLamp;
- //led0 = 1;
+ led0 = 1;
+ led1 = 1;
wait(0.5);
myLeds = 0;
- //led0 = 0;
+ led0 = 0;
+ led1 = 0;
wait(0.5);
}
}