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
Revision 0:ee555abaa006, committed 2017-11-09
- Comitter:
- jon07
- Date:
- Thu Nov 09 13:45:52 2017 +0000
- Commit message:
- kkl
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r ee555abaa006 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Nov 09 13:45:52 2017 +0000 @@ -0,0 +1,21 @@ +#include "mbed.h" + +Ticker timer; +DigitalOut led1(D2); +DigitalOut led2(D3); +DigitalOut led3(D4); + +void attime (){ + +led1= !led1; +led2= !led2; +led3= !led3; +} + +int main() { + timer.attach(&attime, 1); + + while(1) { + sleep(); + } +}
diff -r 000000000000 -r ee555abaa006 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Nov 09 13:45:52 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/fb8e0ae1cceb \ No newline at end of file