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
Fork of DigitalIn_HelloWorld_Mbed by
Diff: main.cpp
- Revision:
- 4:e2f865861a7a
- Parent:
- 0:aaf5a9d465fd
- Child:
- 5:9b20ef58e04c
--- a/main.cpp Sun Sep 21 19:19:43 2014 +0000
+++ b/main.cpp Sun Sep 21 19:20:53 2014 +0000
@@ -3,6 +3,7 @@
DigitalIn enable(p5);
DigitalOut led(LED1);
+// blink LED when enable line is high
int main() {
while(1) {
if(enable) {
