![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
a
Dependencies: mbed
Fork of GIMBAL_SAMPLE4_PPM by
Pin_Assign/Pin_Assign.cpp@1:dd6e70abeb8e, 2018-05-25 (annotated)
- Committer:
- halusis
- Date:
- Fri May 25 08:09:17 2018 +0000
- Revision:
- 1:dd6e70abeb8e
- Parent:
- 0:f0b20f502059
a
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); |