This is a sample of library TI_MPU6050.

Dependencies:   TI_TB6612FNG mbed

Committer:
tichise
Date:
Mon Jun 04 23:14:53 2018 +0000
Revision:
0:772ec1673170
new

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tichise 0:772ec1673170 1 #include "mbed.h"
tichise 0:772ec1673170 2 #include "TI_TB6612FNG.h"
tichise 0:772ec1673170 3
tichise 0:772ec1673170 4 TI_TB6612FNG tb6612FNG(p21, p20, p19, p22, p18, p17, p12);
tichise 0:772ec1673170 5
tichise 0:772ec1673170 6 int main() {
tichise 0:772ec1673170 7 float speed = 0.6;
tichise 0:772ec1673170 8 tb6612FNG.forward(speed);
tichise 0:772ec1673170 9
tichise 0:772ec1673170 10 while(1) {
tichise 0:772ec1673170 11 }
tichise 0:772ec1673170 12 }