Grenade Drone Controller
Dependencies: mbed
Diff: PinAssign/PinAssign.cpp
- Revision:
- 0:02ed82ccad9f
- Child:
- 2:915533cf5d94
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PinAssign/PinAssign.cpp Mon Jul 16 02:29:10 2018 +0000 @@ -0,0 +1,32 @@ +#include "PinAssign.h" + +DigitalIn Sw1(p5); +DigitalIn Sw2(p6); +DigitalIn Sw3(p7); +DigitalIn Sw4(p8); +DigitalIn Sw5(p11); +DigitalIn Sw6(p12); +DigitalIn Sw7(p15); +DigitalIn Sw8(p16); + +DigitalIn Sw14(p17); +DigitalIn Sw58(p18); +DigitalIn SwAll(p19); + +DigitalOut Led1(p21); +DigitalOut Led2(p22); +DigitalOut Led3(p23); +DigitalOut Led4(p24); +DigitalOut Led5(p25); +DigitalOut Led6(p26); +DigitalOut Led7(p29); +DigitalOut Led8(p30); +DigitalOut Led9(p20); + +DigitalOut myled1(LED1); +DigitalOut myled2(LED2); +DigitalOut myled3(LED3); +DigitalOut myled4(LED4); + +Serial Snd2Crr(p28,p27); +Serial pc(USBTX, USBRX); \ No newline at end of file