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:47f99e388aee, 2020-02-26 (annotated)
- Committer:
- makosky
- Date:
- Wed Feb 26 11:59:52 2020 +0000
- Revision:
- 0:47f99e388aee
ty51822r3 old mbed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
makosky | 0:47f99e388aee | 1 | #include "mbed.h" |
makosky | 0:47f99e388aee | 2 | |
makosky | 0:47f99e388aee | 3 | DigitalOut myled(LED1); |
makosky | 0:47f99e388aee | 4 | |
makosky | 0:47f99e388aee | 5 | int main() { |
makosky | 0:47f99e388aee | 6 | while(1) { |
makosky | 0:47f99e388aee | 7 | myled = 1; |
makosky | 0:47f99e388aee | 8 | wait(0.2); |
makosky | 0:47f99e388aee | 9 | myled = 0; |
makosky | 0:47f99e388aee | 10 | wait(0.2); |
makosky | 0:47f99e388aee | 11 | } |
makosky | 0:47f99e388aee | 12 | } |