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:15ea674d67d9, 2013-10-31 (annotated)
- Committer:
- sdizdarevic
- Date:
- Thu Oct 31 18:48:11 2013 +0000
- Revision:
- 0:15ea674d67d9
First test
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sdizdarevic | 0:15ea674d67d9 | 1 | #include "mbed.h" |
| sdizdarevic | 0:15ea674d67d9 | 2 | |
| sdizdarevic | 0:15ea674d67d9 | 3 | DigitalOut myled(dp28); |
| sdizdarevic | 0:15ea674d67d9 | 4 | |
| sdizdarevic | 0:15ea674d67d9 | 5 | int main() { |
| sdizdarevic | 0:15ea674d67d9 | 6 | while(1) { |
| sdizdarevic | 0:15ea674d67d9 | 7 | myled = 1; |
| sdizdarevic | 0:15ea674d67d9 | 8 | wait(1); |
| sdizdarevic | 0:15ea674d67d9 | 9 | myled = 0; |
| sdizdarevic | 0:15ea674d67d9 | 10 | wait(1); |
| sdizdarevic | 0:15ea674d67d9 | 11 | } |
| sdizdarevic | 0:15ea674d67d9 | 12 | } |