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:48feddb4b916, 2010-01-08 (annotated)
- Committer:
- tbenoit
- Date:
- Fri Jan 08 13:52:45 2010 +0000
- Revision:
- 0:48feddb4b916
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| tbenoit | 0:48feddb4b916 | 1 | #include "mbed.h" |
| tbenoit | 0:48feddb4b916 | 2 | |
| tbenoit | 0:48feddb4b916 | 3 | DigitalOut myled(LED1); |
| tbenoit | 0:48feddb4b916 | 4 | |
| tbenoit | 0:48feddb4b916 | 5 | int main() { |
| tbenoit | 0:48feddb4b916 | 6 | while(1) { |
| tbenoit | 0:48feddb4b916 | 7 | myled = 1; |
| tbenoit | 0:48feddb4b916 | 8 | wait(0.2); |
| tbenoit | 0:48feddb4b916 | 9 | myled = 0; |
| tbenoit | 0:48feddb4b916 | 10 | wait(0.2); |
| tbenoit | 0:48feddb4b916 | 11 | } |
| tbenoit | 0:48feddb4b916 | 12 | } |