Lab_0 digital
Dependencies: mbed
Revision 0:a0a9e3d90e89, committed 2015-10-21
- Comitter:
- ParinyaT
- Date:
- Wed Oct 21 05:20:42 2015 +0000
- Commit message:
- Lab_0 for digital class
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 a0a9e3d90e89 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 21 05:20:42 2015 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" + +DigitalIn Switch_1(D2); +DigitalIn Switch_2(D3); +DigitalIn Switch_3(D4); + +DigitalOut LED_1(D5); +DigitalOut LED_2(D6); +DigitalOut LED_3(D7); +DigitalOut LED_4(D8); +DigitalOut LED_5(D9); +DigitalOut LED_6(D10); +DigitalOut LED_7(D11); +DigitalOut LED_8(D12);
diff -r 000000000000 -r a0a9e3d90e89 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Oct 21 05:20:42 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/34e6b704fe68 \ No newline at end of file