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:2d461b9c81d1, 2022-02-08 (annotated)
- Committer:
- keitomck
- Date:
- Tue Feb 08 18:01:37 2022 +0000
- Revision:
- 0:2d461b9c81d1
Lbring;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| keitomck | 0:2d461b9c81d1 | 1 | #include "mbed.h" |
| keitomck | 0:2d461b9c81d1 | 2 | |
| keitomck | 0:2d461b9c81d1 | 3 | DigitalOut led(LED1); |
| keitomck | 0:2d461b9c81d1 | 4 | |
| keitomck | 0:2d461b9c81d1 | 5 | int main() |
| keitomck | 0:2d461b9c81d1 | 6 | { |
| keitomck | 0:2d461b9c81d1 | 7 | led = !led; |
| keitomck | 0:2d461b9c81d1 | 8 | wait(0.2); |
| keitomck | 0:2d461b9c81d1 | 9 | } |
| keitomck | 0:2d461b9c81d1 | 10 | } |