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@0:20a24b4e3bc1, 2014-05-24 (annotated)
- Committer:
- Nishchitha
- Date:
- Sat May 24 15:14:15 2014 +0000
- Revision:
- 0:20a24b4e3bc1
new one
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Nishchitha | 0:20a24b4e3bc1 | 1 | #include "mbed.h" |
| Nishchitha | 0:20a24b4e3bc1 | 2 | |
| Nishchitha | 0:20a24b4e3bc1 | 3 | DigitalOut myled(LED1); |
| Nishchitha | 0:20a24b4e3bc1 | 4 | |
| Nishchitha | 0:20a24b4e3bc1 | 5 | int main() { |
| Nishchitha | 0:20a24b4e3bc1 | 6 | while(1) { |
| Nishchitha | 0:20a24b4e3bc1 | 7 | myled = 1; |
| Nishchitha | 0:20a24b4e3bc1 | 8 | wait(0.2); |
| Nishchitha | 0:20a24b4e3bc1 | 9 | myled = 0; |
| Nishchitha | 0:20a24b4e3bc1 | 10 | wait(0.2); |
| Nishchitha | 0:20a24b4e3bc1 | 11 | } |
| Nishchitha | 0:20a24b4e3bc1 | 12 | } |