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 4DGL-uLCD-SE
Fork of morseCode_1 by
main.cpp@0:4e10b6c94be9, 2018-04-16 (annotated)
- Committer:
- colson
- Date:
- Mon Apr 16 17:28:00 2018 +0000
- Revision:
- 0:4e10b6c94be9
- Child:
- 1:c4b5892da7ee
This is our main
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
colson | 0:4e10b6c94be9 | 1 | #include "mbed.h" |
colson | 0:4e10b6c94be9 | 2 | |
colson | 0:4e10b6c94be9 | 3 | DigitalOut myled(LED1); |
colson | 0:4e10b6c94be9 | 4 | |
colson | 0:4e10b6c94be9 | 5 | int main() { |
colson | 0:4e10b6c94be9 | 6 | while(1) { |
colson | 0:4e10b6c94be9 | 7 | myled = 1; |
colson | 0:4e10b6c94be9 | 8 | wait(0.2); |
colson | 0:4e10b6c94be9 | 9 | myled = 0; |
colson | 0:4e10b6c94be9 | 10 | wait(0.2); |
colson | 0:4e10b6c94be9 | 11 | } |
colson | 0:4e10b6c94be9 | 12 | } |