![](/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:
- 2010-06-03
- Revision:
- 0:f6f8cf11779f
- Child:
- 1:b12b06e2fc2d
File content as of revision 0:f6f8cf11779f:
#include "mbed.h" #include "AX12.h" int main() { AX12 myax12 (p9, p10, 1); while (1) { myax12.SetGoal(60); // go to 60 degrees wait (2.0); myax12.SetGoal(240); // go to 240 degrees wait (2.0); } }