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:2ba04c13669c, 2013-07-29 (annotated)
- Committer:
- quyt
- Date:
- Mon Jul 29 05:40:45 2013 +0000
- Revision:
- 0:2ba04c13669c
'Hello!'
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| quyt | 0:2ba04c13669c | 1 | #include "mbed.h" | 
| quyt | 0:2ba04c13669c | 2 | |
| quyt | 0:2ba04c13669c | 3 | DigitalOut myled(LED1); | 
| quyt | 0:2ba04c13669c | 4 | |
| quyt | 0:2ba04c13669c | 5 | int main() { | 
| quyt | 0:2ba04c13669c | 6 | while(1) { | 
| quyt | 0:2ba04c13669c | 7 | myled = 1; | 
| quyt | 0:2ba04c13669c | 8 | wait(0); | 
| quyt | 0:2ba04c13669c | 9 | myled = 0; | 
| quyt | 0:2ba04c13669c | 10 | wait(0); | 
| quyt | 0:2ba04c13669c | 11 | } | 
| quyt | 0:2ba04c13669c | 12 | } |