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:961aabb9039f, 2011-02-22 (annotated)
- Committer:
- joenagata
- Date:
- Tue Feb 22 12:47:28 2011 +0000
- Revision:
- 0:961aabb9039f
rev.01
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| joenagata | 0:961aabb9039f | 1 | #include "mbed.h" |
| joenagata | 0:961aabb9039f | 2 | |
| joenagata | 0:961aabb9039f | 3 | DigitalOut myled(LED1); |
| joenagata | 0:961aabb9039f | 4 | |
| joenagata | 0:961aabb9039f | 5 | int main() { |
| joenagata | 0:961aabb9039f | 6 | while(1) { |
| joenagata | 0:961aabb9039f | 7 | myled = 1; |
| joenagata | 0:961aabb9039f | 8 | wait(0.2); |
| joenagata | 0:961aabb9039f | 9 | myled = 0; |
| joenagata | 0:961aabb9039f | 10 | wait(0.2); |
| joenagata | 0:961aabb9039f | 11 | } |
| joenagata | 0:961aabb9039f | 12 | } |