stewartplatform

Dependencies:   mbed

Fork of PwmOut_HelloWorld by Mbed

Revision:
3:c5ea5b6a7460
Parent:
2:50062ac8646d
--- a/src/usart.cpp	Sat May 07 12:27:09 2016 +0000
+++ b/src/usart.cpp	Sat Aug 20 12:06:14 2016 +0000
@@ -1,6 +1,6 @@
 #include "usart.h"
 
-Serial usart(USBTX, USBRX);
+Serial usart(PA_9, PA_10);
 
 char positionTemp[7];
 char position[6];
@@ -97,7 +97,7 @@
 
 
 void usart_init(int baud) {
-      usart.baud(baud);
+    usart.baud(baud);
     usart.attach(&usart_ISR);                                                           // attach serial interupt service function
     wait(1);
     //usart.printf("this is a testing code \n");