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@1:c6af17db8475, 2020-05-16 (annotated)
- Committer:
- rary
- Date:
- Sat May 16 05:33:32 2020 +0000
- Revision:
- 1:c6af17db8475
- Parent:
- 0:bcdbd5e0fb16
commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sasakisho | 0:bcdbd5e0fb16 | 1 | #include "mbed.h" |
| sasakisho | 0:bcdbd5e0fb16 | 2 | |
| sasakisho | 0:bcdbd5e0fb16 | 3 | DigitalOut myled(LED4); |
| sasakisho | 0:bcdbd5e0fb16 | 4 | |
| sasakisho | 0:bcdbd5e0fb16 | 5 | int main() |
| sasakisho | 0:bcdbd5e0fb16 | 6 | { |
| sasakisho | 0:bcdbd5e0fb16 | 7 | while(1) |
| sasakisho | 0:bcdbd5e0fb16 | 8 | { |
| sasakisho | 0:bcdbd5e0fb16 | 9 | myled = 1; |
| sasakisho | 0:bcdbd5e0fb16 | 10 | wait(1); |
| sasakisho | 0:bcdbd5e0fb16 | 11 | myled = 0; |
| sasakisho | 0:bcdbd5e0fb16 | 12 | wait(1); |
| sasakisho | 0:bcdbd5e0fb16 | 13 | } |
| sasakisho | 0:bcdbd5e0fb16 | 14 | } |
| rary | 1:c6af17db8475 | 15 | //コミット |