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 AX12-HelloWorld by
Revision 0:f6f8cf11779f, committed 2010-06-03
- Comitter:
- chris
- Date:
- Thu Jun 03 14:25:20 2010 +0000
- Child:
- 1:b12b06e2fc2d
- Commit message:
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AX12.lib Thu Jun 03 14:25:20 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/chris/code/AX12/#ced71d1b2558
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Jun 03 14:25:20 2010 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+#include "AX12.h"
+
+int main() {
+
+ AX12 myax12 (p9, p10, 1);
+
+ while (1) {
+ myax12.SetGoal(60); // go to 60 degrees
+ wait (2.0);
+ myax12.SetGoal(240); // go to 240 degrees
+ wait (2.0);
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Jun 03 14:25:20 2010 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/029aa53d7323
