Main dynamixel test for M89

Dependencies:   mbed AX12

main.cpp

Committer:
moove1334
Date:
2019-04-22
Revision:
0:f4444dfcd74c

File content as of revision 0:f4444dfcd74c:

#include "mbed.h"
#include "AX12.h"

Serial pc(D1,D0);
AX12 ax12(PA_9,PA_10,0x01,1000000);

DigitalOut TxEn (D4);

int main() {
    TxEn = 1;
    ax12.SetCRSpeed(0.1);
    ax12.SetGoal(200, 1);
    
}