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:6ec87c795bb0, 2010-10-12 (annotated)
- Committer:
- pcotret
- Date:
- Tue Oct 12 05:57:58 2010 +0000
- Revision:
- 0:6ec87c795bb0
- Child:
- 1:a6a4af9225c0
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pcotret | 0:6ec87c795bb0 | 1 | #include "mbed.h" |
| pcotret | 0:6ec87c795bb0 | 2 | |
| pcotret | 0:6ec87c795bb0 | 3 | DigitalOut myled(LED1); |
| pcotret | 0:6ec87c795bb0 | 4 | |
| pcotret | 0:6ec87c795bb0 | 5 | int main() |
| pcotret | 0:6ec87c795bb0 | 6 | { |
| pcotret | 0:6ec87c795bb0 | 7 | while(1) |
| pcotret | 0:6ec87c795bb0 | 8 | { |
| pcotret | 0:6ec87c795bb0 | 9 | myled = 1; |
| pcotret | 0:6ec87c795bb0 | 10 | wait(0.1); |
| pcotret | 0:6ec87c795bb0 | 11 | myled = 0; |
| pcotret | 0:6ec87c795bb0 | 12 | wait(0.1); |
| pcotret | 0:6ec87c795bb0 | 13 | } |
| pcotret | 0:6ec87c795bb0 | 14 | } |