This is a sample of library TI_MPU6050.
Dependencies: TI_TB6612FNG mbed
main.cpp
- Committer:
- tichise
- Date:
- 2018-06-04
- Revision:
- 0:772ec1673170
File content as of revision 0:772ec1673170:
#include "mbed.h" #include "TI_TB6612FNG.h" TI_TB6612FNG tb6612FNG(p21, p20, p19, p22, p18, p17, p12); int main() { float speed = 0.6; tb6612FNG.forward(speed); while(1) { } }