Ted Parrott
/
Frontal_tilt
NA
Fork of AX12-HelloWorld by
main.cpp
- Committer:
- chris
- Date:
- 2011-03-31
- Revision:
- 1:b12b06e2fc2d
- Parent:
- 0:f6f8cf11779f
- Child:
- 2:8a752bc2f2f8
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); } }