This program is porting rosserial_arduino for mbed http://www.ros.org/wiki/rosserial_arduino This program supported the revision of 169 of rosserial.

Dependencies:  

Dependents:   rosserial_mbed robot_S2

Revision:
3:1cf99502f396
Parent:
1:ff0ec969dad1
--- a/MbedHardware.h	Sun Oct 16 09:35:11 2011 +0000
+++ b/MbedHardware.h	Sat Nov 12 23:54:45 2011 +0000
@@ -11,17 +11,21 @@
 #include"mbed.h"
 #include"MODSERIAL.h"
 
+#ifndef ROSSERIAL_BAUDRATE
+#define ROSSERIAL_BAUDRATE    57600
+#endif
+
 
 class MbedHardware {
 public:
-    MbedHardware(MODSERIAL* io , int baud= 57600)
+    MbedHardware(MODSERIAL* io , int baud= ROSSERIAL_BAUDRATE)
             :iostream(*io){
         baud_ = baud;
         t.start();
     }
     MbedHardware()
             :iostream(USBTX, USBRX) {
-        baud_ = 57600;
+        baud_ = ROSSERIAL_BAUDRATE;
         t.start();
     }
     MbedHardware(MbedHardware& h)