a
Dependencies: mbed
Pin_Assign/Pin_Assign.cpp@0:f0b20f502059, 2018-05-24 (annotated)
- Committer:
- halusis
- Date:
- Thu May 24 10:19:44 2018 +0000
- Revision:
- 0:f0b20f502059
AA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
halusis | 0:f0b20f502059 | 1 | #include "Pin_Assign.h" |
halusis | 0:f0b20f502059 | 2 | #include "PPMIn.h" |
halusis | 0:f0b20f502059 | 3 | #include "PPMOut.h" |
halusis | 0:f0b20f502059 | 4 | |
halusis | 0:f0b20f502059 | 5 | Serial pc(USBTX, USBRX); |
halusis | 0:f0b20f502059 | 6 | Serial Fcc(p9, p10); |
halusis | 0:f0b20f502059 | 7 | //Serial RF(p13,p14); |
halusis | 0:f0b20f502059 | 8 | Serial Gimbal(p28,p27); |
halusis | 0:f0b20f502059 | 9 | Serial RF(p13,p14); |
halusis | 0:f0b20f502059 | 10 | |
halusis | 0:f0b20f502059 | 11 | PwmOut YawCMD(p21); |
halusis | 0:f0b20f502059 | 12 | PwmOut PitchCMD(p22); |
halusis | 0:f0b20f502059 | 13 | |
halusis | 0:f0b20f502059 | 14 | /////////////////////////// |
halusis | 0:f0b20f502059 | 15 | //set external interrupts// |
halusis | 0:f0b20f502059 | 16 | /////////////////////////// |
halusis | 0:f0b20f502059 | 17 | PpmIn ppmin(p29); |
halusis | 0:f0b20f502059 | 18 | |
halusis | 0:f0b20f502059 | 19 | //InterruptIn pin29(p29); |