Grenade Drone Controller

Dependencies:   mbed

PinAssign/PinAssign.cpp

Committer:
halusis
Date:
2018-08-20
Revision:
2:915533cf5d94
Parent:
0:02ed82ccad9f

File content as of revision 2:915533cf5d94:

#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(p9,p10);
Serial pc(USBTX, USBRX);