![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TINFmbedSimulator_4LEDs
Revision 0:7ab3b759bfde, committed 2018-11-15
- Comitter:
- martwerl
- Date:
- Thu Nov 15 18:25:24 2018 +0000
- Commit message:
- TINFmbedSimulator_4LEDs
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 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Nov 15 18:25:24 2018 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + while(1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Nov 15 18:25:24 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/5aab5a7997ee \ No newline at end of file