![](/media/cache/profiles/36388716_10156379864393903_5314622498057224192_n.jpg.50x50_q85.jpg)
This is a sample of library TI_MPU6050.
Dependencies: TI_TB6612FNG mbed
Revision 0:772ec1673170, committed 2018-06-04
- Comitter:
- tichise
- Date:
- Mon Jun 04 23:14:53 2018 +0000
- Commit message:
- new
Changed in this revision
diff -r 000000000000 -r 772ec1673170 TI_TB6612FNG.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TI_TB6612FNG.lib Mon Jun 04 23:14:53 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/tichise/code/TI_TB6612FNG/#982bd54e15b1
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) { + } +}
diff -r 000000000000 -r 772ec1673170 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Jun 04 23:14:53 2018 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/5aab5a7997ee \ No newline at end of file