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:ffbc22f03eab, 2018-08-02 (annotated)
- Committer:
- Scradegom
- Date:
- Thu Aug 02 03:34:20 2018 +0000
- Revision:
- 0:ffbc22f03eab
ARM MPS2 M3 prueba base
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Scradegom | 0:ffbc22f03eab | 1 | #include "mbed.h" |
| Scradegom | 0:ffbc22f03eab | 2 | |
| Scradegom | 0:ffbc22f03eab | 3 | DigitalOut myled(LED1); |
| Scradegom | 0:ffbc22f03eab | 4 | |
| Scradegom | 0:ffbc22f03eab | 5 | int main() { |
| Scradegom | 0:ffbc22f03eab | 6 | while(1) { |
| Scradegom | 0:ffbc22f03eab | 7 | myled = 1; |
| Scradegom | 0:ffbc22f03eab | 8 | wait(0.2); |
| Scradegom | 0:ffbc22f03eab | 9 | myled = 0; |
| Scradegom | 0:ffbc22f03eab | 10 | wait(0.2); |
| Scradegom | 0:ffbc22f03eab | 11 | } |
| Scradegom | 0:ffbc22f03eab | 12 | } |