Myserial Library extends RawSerial

Revision:
14:8bd054a87ac5
Parent:
13:8cf9a9d7d44d
Child:
15:a0b05e764268
--- a/MySerial.h	Thu Jul 03 03:21:33 2014 +0000
+++ b/MySerial.h	Thu Jul 03 05:41:39 2014 +0000
@@ -37,7 +37,7 @@
  * }
  * @endcode
  */
-class MySerial : public SerialBase{
+class MySerial : public Serial{
     
 public:
    
@@ -48,28 +48,6 @@
      */
     MySerial(PinName tx, PinName rx);
 
-    /** Write a char to the serial port
-     *
-     * @param c The char to write
-     *
-     * @returns The written char or -1 if an error occured
-     */
-    int putc(int c);
- 
-    /** Read a char from the serial port
-     *
-     * @returns The char read from the serial port
-     */
-    int getc();
- 
-    /** Write a string to the serial port
-     *
-     * @param str The string to write
-     *
-     * @returns 0 if the write succeeds, EOF for error
-     */
-    int puts(const char *str);
-
    /** set wait getting chars after interrupted
      * 
      * @param float _fRxStartWait wait getting a 1st char after interrupted