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:fe5d2934f506, 2015-04-28 (annotated)
- Committer:
- navjyoth
- Date:
- Tue Apr 28 12:44:14 2015 +0000
- Revision:
- 0:fe5d2934f506
asd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
navjyoth | 0:fe5d2934f506 | 1 | #include "mbed.h" |
navjyoth | 0:fe5d2934f506 | 2 | |
navjyoth | 0:fe5d2934f506 | 3 | DigitalOut myled(LED1); |
navjyoth | 0:fe5d2934f506 | 4 | |
navjyoth | 0:fe5d2934f506 | 5 | int main() { |
navjyoth | 0:fe5d2934f506 | 6 | while(1) { |
navjyoth | 0:fe5d2934f506 | 7 | myled = 1; |
navjyoth | 0:fe5d2934f506 | 8 | wait(0.2); |
navjyoth | 0:fe5d2934f506 | 9 | myled = 0; |
navjyoth | 0:fe5d2934f506 | 10 | wait(0.2); |
navjyoth | 0:fe5d2934f506 | 11 | } |
navjyoth | 0:fe5d2934f506 | 12 | } |