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:f6ce231f1696, 2009-11-21 (annotated)
- Committer:
- Gidimiz
- Date:
- Sat Nov 21 21:46:11 2009 +0000
- Revision:
- 0:f6ce231f1696
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Gidimiz | 0:f6ce231f1696 | 1 | #include "mbed.h" |
| Gidimiz | 0:f6ce231f1696 | 2 | |
| Gidimiz | 0:f6ce231f1696 | 3 | DigitalOut myled(p30);; |
| Gidimiz | 0:f6ce231f1696 | 4 | |
| Gidimiz | 0:f6ce231f1696 | 5 | int main() { |
| Gidimiz | 0:f6ce231f1696 | 6 | while(1) { |
| Gidimiz | 0:f6ce231f1696 | 7 | myled = !myled; |
| Gidimiz | 0:f6ce231f1696 | 8 | wait(0.2); |
| Gidimiz | 0:f6ce231f1696 | 9 | } |
| Gidimiz | 0:f6ce231f1696 | 10 | } |