haptics version

Fork of MODSERIAL by Andy K

Revision:
25:ae0408ebdd68
Parent:
24:9c456e647a8f
Child:
26:486d758f7194
--- a/MODSERIAL.h	Thu Dec 06 13:06:10 2012 +0000
+++ b/MODSERIAL.h	Tue Jan 08 18:01:03 2013 +0000
@@ -284,7 +284,7 @@
      * @param tx PinName of the TX pin.
      * @param rx PinName of the TX pin.
      */    
-    MODSERIAL(PinName tx, PinName rx);
+    MODSERIAL(PinName tx, PinName rx, const char* name = NULL);
     
     /**
      * The MODSERIAL constructor is used to initialise the serial object.
@@ -293,7 +293,7 @@
      * @param rx PinName of the TX pin.
      * @param bufferSize Integer of the TX and RX buffer sizes.
      */    
-    MODSERIAL(PinName tx, PinName rx, int bufferSize);
+    MODSERIAL(PinName tx, PinName rx, int bufferSize, const char* name = NULL);
     
     /**
      * The MODSERIAL constructor is used to initialise the serial object.
@@ -303,7 +303,7 @@
      * @param txBufferSize Integer of the TX buffer sizes.
      * @param rxBufferSize Integer of the RX buffer sizes.
      */    
-    MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize);
+    MODSERIAL(PinName tx, PinName rx, int txBufferSize, int rxBufferSize, const char* name = NULL);
     
     virtual ~MODSERIAL();