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:d57117b2188d, 2015-02-18 (annotated)
- Committer:
- bbbobbbieo
- Date:
- Wed Feb 18 19:01:34 2015 +0000
- Revision:
- 0:d57117b2188d
- Child:
- 1:21d40d90b2f0
doing stuff;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bbbobbbieo | 0:d57117b2188d | 1 | #include "mbed.h" |
bbbobbbieo | 0:d57117b2188d | 2 | |
bbbobbbieo | 0:d57117b2188d | 3 | DigitalOut myled(LED1); |
bbbobbbieo | 0:d57117b2188d | 4 | |
bbbobbbieo | 0:d57117b2188d | 5 | int main() { |
bbbobbbieo | 0:d57117b2188d | 6 | while(1) { |
bbbobbbieo | 0:d57117b2188d | 7 | myled = 1; |
bbbobbbieo | 0:d57117b2188d | 8 | wait(0.2); |
bbbobbbieo | 0:d57117b2188d | 9 | myled = 0; |
bbbobbbieo | 0:d57117b2188d | 10 | wait(0.2); |
bbbobbbieo | 0:d57117b2188d | 11 | } |
bbbobbbieo | 0:d57117b2188d | 12 | } |
bbbobbbieo | 0:d57117b2188d | 13 | //hi guys |