T Umezawa
/
light3
3.3V Output
Revision 0:b62a2d623514, committed 2020-12-29
- Comitter:
- umezawa
- Date:
- Tue Dec 29 04:46:54 2020 +0000
- Commit message:
- test
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 b62a2d623514 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Dec 29 04:46:54 2020 +0000 @@ -0,0 +1,17 @@ +#include "mbed.h" +DigitalOut conv(A3); +DigitalOut led1(D6); +DigitalOut led2(A4); + +int main() +{ + conv = 1; + while(1) { + led1 = 1; + led2 = 1; + wait(0.5); + led1 = 0; + led2 = 0; + wait(0.5); + } +} \ No newline at end of file
diff -r 000000000000 -r b62a2d623514 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Dec 29 04:46:54 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file