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@3:28301c60ffa2, 2013-09-14 (annotated)
- Committer:
- borel
- Date:
- Sat Sep 14 21:40:29 2013 +0000
- Revision:
- 3:28301c60ffa2
- Parent:
- 2:4f844bb143fc
- Child:
- 4:5f8dd44deca7
promjena
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
borel | 0:35399d899d37 | 1 | #include "mbed.h" |
borel | 0:35399d899d37 | 2 | |
borel | 0:35399d899d37 | 3 | DigitalOut myled(LED1); |
borel | 0:35399d899d37 | 4 | |
borel | 0:35399d899d37 | 5 | int main() { |
borel | 0:35399d899d37 | 6 | while(1) { |
borel | 3:28301c60ffa2 | 7 | myled = 2; |
borel | 2:4f844bb143fc | 8 | wait(0.9); |
borel | 0:35399d899d37 | 9 | myled = 0; |
borel | 0:35399d899d37 | 10 | wait(0.2); |
borel | 0:35399d899d37 | 11 | } |
borel | 0:35399d899d37 | 12 | } |