This is a sample of library TI_MPU6050.
Dependencies: TI_TB6612FNG mbed
Diff: main.cpp
- Revision:
- 0:772ec1673170
diff -r 000000000000 -r 772ec1673170 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jun 04 23:14:53 2018 +0000 @@ -0,0 +1,12 @@ +#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) { + } +}