thunchanok phutthaphaiboon
/
M89_Dynamixel
Main dynamixel test for M89
Revision 0:f4444dfcd74c, committed 2019-04-22
- Comitter:
- moove1334
- Date:
- Mon Apr 22 02:30:12 2019 +0000
- Commit message:
- to use Jenny's library
Changed in this revision
diff -r 000000000000 -r f4444dfcd74c AX12.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AX12.lib Mon Apr 22 02:30:12 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/jplunkett/code/AX12/#5b9ce05ad2e0
diff -r 000000000000 -r f4444dfcd74c main.cpp --- /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
diff -r 000000000000 -r f4444dfcd74c mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Apr 22 02:30:12 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file