Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TA7291P by
Revision 0:c07686c99919, committed 2017-03-17
- Comitter:
- tomoya123
- Date:
- Fri Mar 17 08:39:40 2017 +0000
- Commit message:
- motor
Changed in this revision
diff -r 000000000000 -r c07686c99919 TA7291P.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TA7291P.lib Fri Mar 17 08:39:40 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/takoyaki/code/TA7291P/#2abc17614090
diff -r 000000000000 -r c07686c99919 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Fri Mar 17 08:39:40 2017 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "ta7291p.h"
+
+ta7291p motor1(p25,p24,p26);
+ta7291p motor2(p22,p21,p23);
+
+int main() {
+ while(1) {
+ motor1.rotf(1.0);
+ motor2.rotf(1.0);
+ wait(1.0);
+ motor1.rotstop();
+ motor2.rotstop();
+ wait(2.0);
+ motor1.rotb(1.0);
+ motor2.rotb(1.0);
+ }
+}
diff -r 000000000000 -r c07686c99919 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Mar 17 08:39:40 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34 \ No newline at end of file
