test
Dependencies: MX28 iSerial mbed
Fork of MX_control by
Diff: classproject.cpp
- Revision:
- 0:c98ac0a05620
- Child:
- 1:0a652990dab1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classproject.cpp Thu Oct 23 07:34:07 2014 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" +#include "MX28.h" + +#define ID_ROLL 1 +#define ID_PITCH 2 + +#define CENTER_ROLL 2048 +#define CENTER_ + +Serial pc(USBTX, USBRX); +MX28 mx28(PA_11, PA_12, 1000000); + +int main() +{ + pc.baud(115200); + pc.printf("======================================================\r\n"); + + + return 0; +} \ No newline at end of file