This is a sample of library TI_MPU6050.

Dependencies:   TI_TB6612FNG mbed

Files at this revision

API Documentation at this revision

Comitter:
tichise
Date:
Mon Jun 04 23:14:53 2018 +0000
Commit message:
new

Changed in this revision

TI_TB6612FNG.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
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