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:
- dconsoli
- Date:
- 2016-05-23
- Revision:
- 4:6450eb95727d
- Parent:
- 3:d2c3ac534549
- Child:
- 6:941fdda9d110
File content as of revision 4:6450eb95727d:
#include "mbed.h"
#include "comunication_1.h"
#include "MX106.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);
comunication_1 wire(PA_9, PA_10, 9600);
MX106 motor_21(21, wire, 1);
   
int main() {  
   pc.printf("Start run! \n");
}
            
    