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: MX28 iSerial mbed
Fork of MX_control by
classproject.cpp
- Committer:
- soulx
- Date:
- 2014-10-23
- Revision:
- 0:c98ac0a05620
- Child:
- 1:0a652990dab1
File content as of revision 0:c98ac0a05620:
#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;
}
