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: AX12_final MX106_not_working comunication_1 mbed-dev
Fork of MX106-finaltest by
main.cpp
- Committer:
- clynamen
- Date:
- 2016-07-02
- Revision:
- 10:2acfa1a84c96
- Parent:
- 6:941fdda9d110
- Child:
- 11:19e8022f60ea
File content as of revision 10:2acfa1a84c96:
#include "mbed.h"
#include "communication_1.h"
#include "MX106.h"
#include "MX64.h"
/*Connessioni jupers millefori/nucleo:
- rosso 5V
- nero GND
- marrone D2
- verde D8
Il connettore va stacato dal dynamixel e non dalla millefori per non scambiare il verso!*/
Serial pc(USBTX, USBRX);
communication_1 wire(PA_9, PA_10, 9600);
MX106 motor_21(wire, 21, 1);
MX64 motor_22(wire, 22, 1);
int main() {
pc.printf("Start run! \n");
}
