![](/media/cache/profiles/Chris_Profile_Pic_kyGJjzP.jpg.50x50_q85.jpg)
Hello world program for the Dynamixel AX12 servo motor
main.cpp
- Committer:
- chris
- Date:
- 2011-03-31
- Revision:
- 1:b12b06e2fc2d
- Parent:
- 0:f6f8cf11779f
File content as of revision 1:b12b06e2fc2d:
#include "mbed.h" #include "AX12.h" int main() { AX12 myax12 (p9, p10, 1); while (1) { myax12.SetGoal(0); // go to 0 degrees wait (2.0); myax12.SetGoal(300); // go to 300 degrees wait (2.0); } }