Grenade Drone Controller
Dependencies: mbed
PinAssign/PinAssign.cpp@0:02ed82ccad9f, 2018-07-16 (annotated)
- Committer:
- halusis
- Date:
- Mon Jul 16 02:29:10 2018 +0000
- Revision:
- 0:02ed82ccad9f
- Child:
- 2:915533cf5d94
1st complete ver.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
halusis | 0:02ed82ccad9f | 1 | #include "PinAssign.h" |
halusis | 0:02ed82ccad9f | 2 | |
halusis | 0:02ed82ccad9f | 3 | DigitalIn Sw1(p5); |
halusis | 0:02ed82ccad9f | 4 | DigitalIn Sw2(p6); |
halusis | 0:02ed82ccad9f | 5 | DigitalIn Sw3(p7); |
halusis | 0:02ed82ccad9f | 6 | DigitalIn Sw4(p8); |
halusis | 0:02ed82ccad9f | 7 | DigitalIn Sw5(p11); |
halusis | 0:02ed82ccad9f | 8 | DigitalIn Sw6(p12); |
halusis | 0:02ed82ccad9f | 9 | DigitalIn Sw7(p15); |
halusis | 0:02ed82ccad9f | 10 | DigitalIn Sw8(p16); |
halusis | 0:02ed82ccad9f | 11 | |
halusis | 0:02ed82ccad9f | 12 | DigitalIn Sw14(p17); |
halusis | 0:02ed82ccad9f | 13 | DigitalIn Sw58(p18); |
halusis | 0:02ed82ccad9f | 14 | DigitalIn SwAll(p19); |
halusis | 0:02ed82ccad9f | 15 | |
halusis | 0:02ed82ccad9f | 16 | DigitalOut Led1(p21); |
halusis | 0:02ed82ccad9f | 17 | DigitalOut Led2(p22); |
halusis | 0:02ed82ccad9f | 18 | DigitalOut Led3(p23); |
halusis | 0:02ed82ccad9f | 19 | DigitalOut Led4(p24); |
halusis | 0:02ed82ccad9f | 20 | DigitalOut Led5(p25); |
halusis | 0:02ed82ccad9f | 21 | DigitalOut Led6(p26); |
halusis | 0:02ed82ccad9f | 22 | DigitalOut Led7(p29); |
halusis | 0:02ed82ccad9f | 23 | DigitalOut Led8(p30); |
halusis | 0:02ed82ccad9f | 24 | DigitalOut Led9(p20); |
halusis | 0:02ed82ccad9f | 25 | |
halusis | 0:02ed82ccad9f | 26 | DigitalOut myled1(LED1); |
halusis | 0:02ed82ccad9f | 27 | DigitalOut myled2(LED2); |
halusis | 0:02ed82ccad9f | 28 | DigitalOut myled3(LED3); |
halusis | 0:02ed82ccad9f | 29 | DigitalOut myled4(LED4); |
halusis | 0:02ed82ccad9f | 30 | |
halusis | 0:02ed82ccad9f | 31 | Serial Snd2Crr(p28,p27); |
halusis | 0:02ed82ccad9f | 32 | Serial pc(USBTX, USBRX); |