Debugged library and example main
Dependencies: MX106_not_working mbed-src AX12_final comunication_1
Fork of MX106-custom 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