Sandra Hochegger
/
Linesensor
linesensor
Revision 0:03c070d7e9c5, committed 2015-05-22
- Comitter:
- Sandra8152
- Date:
- Fri May 22 14:07:23 2015 +0000
- Commit message:
- Linesensor
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 03c070d7e9c5 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri May 22 14:07:23 2015 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +BusOut myled(LED1, LED2, LED3, LED4); +BusIn sensor(p18, p16, p19, p17); + +int main() +{ + while(1) + { + myled = sensor; + wait(0.2); + } +}
diff -r 000000000000 -r 03c070d7e9c5 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri May 22 14:07:23 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/dbbf35b96557 \ No newline at end of file