thunchanok phutthaphaiboon
/
M89_Dynamixel
Main dynamixel test for M89
Diff: main.cpp
- Revision:
- 0:f4444dfcd74c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Apr 22 02:30:12 2019 +0000 @@ -0,0 +1,14 @@ +#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); + +} \ No newline at end of file