adrobo
/
adrobo_template
This is a template project.
Fork of adrobo_template by
Revision 0:00cd5d387b74, committed 2020-04-20
- Comitter:
- yasuohayashibara
- Date:
- Mon Apr 20 04:37:35 2020 +0000
- Commit message:
- This is a template project.
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/adrobo.lib Mon Apr 20 04:37:35 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/yasuohayashibara/code/adrobo/#45772cb4e01c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Apr 20 04:37:35 2020 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +#include "adrobo.h" + +BusOut led(LED1,LED2,LED3,LED4,LED5,LED); + +int main() { + int no = 0; + while(1) { + led = 1 << no; + no = (no >= 5) ? 0 : (no + 1); + wait(0.5); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Apr 20 04:37:35 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file