![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
NA
Dependencies: AX12 BMA180_2 L3G4200D_1 mbed
Fork of AX12-HelloWorld by
main.cpp
- Committer:
- chris
- Date:
- 2011-03-31
- Revision:
- 1:b12b06e2fc2d
- Parent:
- 0:f6f8cf11779f
- Child:
- 2:f93868975538
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); } }