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.
Blinky.cpp@0:95d4ede1a32b, 2022-04-13 (annotated)
- Committer:
- pios
- Date:
- Wed Apr 13 15:37:58 2022 +0000
- Revision:
- 0:95d4ede1a32b
MyProgramPios
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pios | 0:95d4ede1a32b | 1 | /* |
| pios | 0:95d4ede1a32b | 2 | #include "mbed.h" |
| pios | 0:95d4ede1a32b | 3 | |
| pios | 0:95d4ede1a32b | 4 | DigitalOut led(LED1); |
| pios | 0:95d4ede1a32b | 5 | |
| pios | 0:95d4ede1a32b | 6 | int main(){ |
| pios | 0:95d4ede1a32b | 7 | while(1){ |
| pios | 0:95d4ede1a32b | 8 | led = 1; |
| pios | 0:95d4ede1a32b | 9 | wait(0.1); |
| pios | 0:95d4ede1a32b | 10 | led = 0; |
| pios | 0:95d4ede1a32b | 11 | wait(0.1); |
| pios | 0:95d4ede1a32b | 12 | |
| pios | 0:95d4ede1a32b | 13 | |
| pios | 0:95d4ede1a32b | 14 | } |
| pios | 0:95d4ede1a32b | 15 | |
| pios | 0:95d4ede1a32b | 16 | |
| pios | 0:95d4ede1a32b | 17 | } |
| pios | 0:95d4ede1a32b | 18 | */ |