a
Dependencies: mbed
Diff: Pin_Assign/Pin_Assign.cpp
- Revision:
- 0:f0b20f502059
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Pin_Assign/Pin_Assign.cpp Thu May 24 10:19:44 2018 +0000 @@ -0,0 +1,19 @@ +#include "Pin_Assign.h" +#include "PPMIn.h" +#include "PPMOut.h" + +Serial pc(USBTX, USBRX); +Serial Fcc(p9, p10); +//Serial RF(p13,p14); +Serial Gimbal(p28,p27); +Serial RF(p13,p14); + +PwmOut YawCMD(p21); +PwmOut PitchCMD(p22); + +/////////////////////////// +//set external interrupts// +/////////////////////////// +PpmIn ppmin(p29); + +//InterruptIn pin29(p29); \ No newline at end of file