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:d0ab7f2c283b, 2017-01-23 (annotated)
- Committer:
- zhouhaohua
- Date:
- Mon Jan 23 06:29:28 2017 +0000
- Revision:
- 0:d0ab7f2c283b
test LPC43s67
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| zhouhaohua | 0:d0ab7f2c283b | 1 | #include "mbed.h" |
| zhouhaohua | 0:d0ab7f2c283b | 2 | |
| zhouhaohua | 0:d0ab7f2c283b | 3 | DigitalOut myled(LED1); |
| zhouhaohua | 0:d0ab7f2c283b | 4 | |
| zhouhaohua | 0:d0ab7f2c283b | 5 | int main() { |
| zhouhaohua | 0:d0ab7f2c283b | 6 | while(1) { |
| zhouhaohua | 0:d0ab7f2c283b | 7 | myled = 1; |
| zhouhaohua | 0:d0ab7f2c283b | 8 | wait(0.2); |
| zhouhaohua | 0:d0ab7f2c283b | 9 | myled = 0; |
| zhouhaohua | 0:d0ab7f2c283b | 10 | wait(0.2); |
| zhouhaohua | 0:d0ab7f2c283b | 11 | } |
| zhouhaohua | 0:d0ab7f2c283b | 12 | } |