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:1ca47217574f, 2019-06-26 (annotated)
- Committer:
- Boyd
- Date:
- Wed Jun 26 20:05:33 2019 +0000
- Revision:
- 0:1ca47217574f
test 1
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| Boyd | 0:1ca47217574f | 1 | #include "mbed.h" | 
| Boyd | 0:1ca47217574f | 2 | |
| Boyd | 0:1ca47217574f | 3 | DigitalOut myled(LED1); | 
| Boyd | 0:1ca47217574f | 4 | |
| Boyd | 0:1ca47217574f | 5 | int main() { | 
| Boyd | 0:1ca47217574f | 6 | while(1) { | 
| Boyd | 0:1ca47217574f | 7 | myled = 1; | 
| Boyd | 0:1ca47217574f | 8 | wait(0.2); | 
| Boyd | 0:1ca47217574f | 9 | myled = 0; | 
| Boyd | 0:1ca47217574f | 10 | wait(0.2); | 
| Boyd | 0:1ca47217574f | 11 | } | 
| Boyd | 0:1ca47217574f | 12 | } |