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.
libraries/tests/mbed/blinky/main.cpp@0:6c56fb4bc5f0, 2016-11-04 (annotated)
- Committer:
- nexpaq
- Date:
- Fri Nov 04 20:27:58 2016 +0000
- Revision:
- 0:6c56fb4bc5f0
Moving to library for sharing updates
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| nexpaq | 0:6c56fb4bc5f0 | 1 | #include "mbed.h" |
| nexpaq | 0:6c56fb4bc5f0 | 2 | |
| nexpaq | 0:6c56fb4bc5f0 | 3 | DigitalOut myled(LED1); |
| nexpaq | 0:6c56fb4bc5f0 | 4 | |
| nexpaq | 0:6c56fb4bc5f0 | 5 | int main() { |
| nexpaq | 0:6c56fb4bc5f0 | 6 | while(1) { |
| nexpaq | 0:6c56fb4bc5f0 | 7 | myled = 1; |
| nexpaq | 0:6c56fb4bc5f0 | 8 | wait(0.2); |
| nexpaq | 0:6c56fb4bc5f0 | 9 | myled = 0; |
| nexpaq | 0:6c56fb4bc5f0 | 10 | wait(0.2); |
| nexpaq | 0:6c56fb4bc5f0 | 11 | } |
| nexpaq | 0:6c56fb4bc5f0 | 12 | } |