Hisyam Sulaiman
/
lab1_led
lab1
Revision 0:f5005147a60b, committed 2018-05-17
- Comitter:
- HisyamSulaiman
- Date:
- Thu May 17 06:57:01 2018 +0000
- Commit message:
- lab1;
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 f5005147a60b main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu May 17 06:57:01 2018 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +BusOut Pattern(D9,D13); + + +int main() { + while(1){ + Pattern = 1; + wait(0.2); + Pattern = 10; + wait(0.2); +} +}
diff -r 000000000000 -r f5005147a60b mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu May 17 06:57:01 2018 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/5571c4ff569f \ No newline at end of file