tetete
Diff: AsyncSerial.hpp
- Revision:
- 8:7390f9bb28d3
- Parent:
- 5:a50cdaa90d6a
- Child:
- 9:709719dddd3e
--- a/AsyncSerial.hpp Sat Jun 17 09:23:23 2017 +0000 +++ b/AsyncSerial.hpp Sat Jun 17 11:44:36 2017 +0000 @@ -4,10 +4,10 @@ @brief Asynchronous (Non-brocking) Serial Communication library with variable length software ring buffer (FIFO). You can use also RawSerial Library's method. You can set the baudrate of the serial communication when instantiating. @author T.Kawamura - @version 1.1 + @version 1.2 @date 2017-03-29 T.Kawamura Written for C++/mbed. @date 2017-03-30 T.Kawamura Bug Fixed: Cannot use format(), baud(). - + @date 2017-06-17 T.Kawamura Update: FIFO Buffer Fixed. @see Copyright (C) 2017 T.Kawamura. Released under the MIT license. @@ -92,18 +92,16 @@ /** @brief Put 1byte to the AsyncSerial port. @param data A Data for put - @retval 0 Error. - @retval 1 Success. + @return Nothing. */ - virtual int putc(int c); + virtual void putc(int c); /** @brief Write a string with new line. The string must be NULL terminated. @param *str A String for write (Must be NULL terminated). - @retval 0 Error. - @retval 1 Success. + @return Nothing. */ - virtual int puts(const char *str); + virtual void puts(const char *str); /** @brief Write a formatted string to the AsyncSerial port.