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.
Dependencies: mbed
main.cpp@25:306dd9ff609f, 2020-09-02 (annotated)
- Committer:
- selena13
- Date:
- Wed Sep 02 15:06:03 2020 +0000
- Revision:
- 25:306dd9ff609f
- Parent:
- 24:7f14b70fc9ef
- Child:
- 26:e758f3f75ac1
version 1-command led blue
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dan | 0:7dec7e9ac085 | 1 | #include "mbed.h" |
| dan | 0:7dec7e9ac085 | 2 | |
| selena13 | 25:306dd9ff609f | 3 | DigitalOut myled(LED2); |
| dan | 0:7dec7e9ac085 | 4 | |
| dan | 0:7dec7e9ac085 | 5 | int main() { |
| dan | 0:7dec7e9ac085 | 6 | while(1) { |
| dan | 0:7dec7e9ac085 | 7 | myled = 1; |
| dan | 0:7dec7e9ac085 | 8 | wait(0.2); |
| dan | 0:7dec7e9ac085 | 9 | myled = 0; |
| stevep | 4:81cea7a352b0 | 10 | wait(0.2); |
| stevep | 4:81cea7a352b0 | 11 | } |
| dan | 0:7dec7e9ac085 | 12 | } |