Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of GIMBAL_SAMPLE4_PPM by
Pin_Assign/Pin_Assign.cpp
- Committer:
- halusis
- Date:
- 2018-05-25
- Revision:
- 1:dd6e70abeb8e
- Parent:
- 0:f0b20f502059
File content as of revision 1:dd6e70abeb8e:
#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);
            
    