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.
main.cpp@1:58c3aa3b6e50, 2020-05-11 (annotated)
- Committer:
- rishivishwanath
- Date:
- Mon May 11 05:59:29 2020 +0000
- Revision:
- 1:58c3aa3b6e50
- Parent:
- 0:63bb07316e5c
hi
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| rishivishwanath | 0:63bb07316e5c | 1 | #include "mbed.h" |
| rishivishwanath | 0:63bb07316e5c | 2 | |
| rishivishwanath | 0:63bb07316e5c | 3 | DigitalOut myled(LED1); |
| rishivishwanath | 0:63bb07316e5c | 4 | |
| rishivishwanath | 0:63bb07316e5c | 5 | int main() { |
| rishivishwanath | 0:63bb07316e5c | 6 | while(1) { |
| rishivishwanath | 0:63bb07316e5c | 7 | myled = 1; |
| rishivishwanath | 1:58c3aa3b6e50 | 8 | wait(0.30); |
| rishivishwanath | 0:63bb07316e5c | 9 | myled = 0; |
| rishivishwanath | 0:63bb07316e5c | 10 | wait(0.2); |
| rishivishwanath | 0:63bb07316e5c | 11 | } |
| rishivishwanath | 0:63bb07316e5c | 12 | } |