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.
Revision 0:0c7c74d022ff, committed 2018-06-11
- Comitter:
- Lorutal
- Date:
- Mon Jun 11 17:16:09 2018 +0000
- Commit message:
- test
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AX12.lib Mon Jun 11 17:16:09 2018 +0000 @@ -0,0 +1,1 @@ +http://os.mbed.com/users/cpotron/code/AX12/#14a14b30d205
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Jun 11 17:16:09 2018 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+#include "AX12.h"
+
+int main() {
+
+    AX12 myax12 (PC_6, PC_7, 1); // tx rx, id
+
+    while (1) {
+        myax12.SetGoal(0);    // go to 0 degrees
+        wait (2.0);
+        myax12.SetGoal(300);  // go to 300 degrees
+        wait (2.0);
+    }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Jun 11 17:16:09 2018 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/5aab5a7997ee \ No newline at end of file