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.
Dependencies: AX12_final MX106_not_working comunication_1 mbed-dev
Fork of MX106-finaltest by
Diff: main.cpp
- Revision:
- 1:946c65496383
- Parent:
- 0:23acabab7c11
- Child:
- 3:d2c3ac534549
--- a/main.cpp Tue Apr 26 14:46:15 2016 +0000
+++ b/main.cpp Tue Apr 26 16:46:51 2016 +0000
@@ -1,4 +1,16 @@
#include "mbed.h"
+#include "AX12.h"
int main() {
- }
\ No newline at end of file
+ Serial pc(USBTX, USBRX);
+ AX12 MX106(PA_0, PA_1, 1);
+ pc.printf("Start run!");
+
+
+ while (1) {
+
+ pc.printf("%f",MX106.GetTemp());
+
+
+ }
+}
\ No newline at end of file
