|
|
|
|
@ -61,7 +61,6 @@ class SerialStream : public OutputStream, public Serial {
|
|
|
|
|
*
|
|
|
|
|
* Sets up the serial connection as well
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*/
|
|
|
|
|
explicit SerialStream(ComPort port = COM1, BaudRate baud_rate = BAUD_115200,
|
|
|
|
|
DataBits data_bits = DATA_8BIT,
|
|
|
|
|
@ -74,13 +73,11 @@ class SerialStream : public OutputStream, public Serial {
|
|
|
|
|
* The method is automatically called when the buffer is full,
|
|
|
|
|
* but can also be called explicitly to force output of the current buffer.
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*/
|
|
|
|
|
void flush() override;
|
|
|
|
|
|
|
|
|
|
/*! \brief Change foreground color (for subsequent output)
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*
|
|
|
|
|
* \param c Color
|
|
|
|
|
*/
|
|
|
|
|
@ -88,7 +85,6 @@ class SerialStream : public OutputStream, public Serial {
|
|
|
|
|
|
|
|
|
|
/*! \brief Change background color (for subsequent output)
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*
|
|
|
|
|
* \param c Color
|
|
|
|
|
*/
|
|
|
|
|
@ -96,7 +92,6 @@ class SerialStream : public OutputStream, public Serial {
|
|
|
|
|
|
|
|
|
|
/*! \brief Change text attribute (for subsequent output)
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*
|
|
|
|
|
* \param a Attribute
|
|
|
|
|
*/
|
|
|
|
|
@ -107,7 +102,6 @@ class SerialStream : public OutputStream, public Serial {
|
|
|
|
|
* Clear screen, place cursor at the beginning and reset colors
|
|
|
|
|
* and attributes to the default value.
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*/
|
|
|
|
|
void reset();
|
|
|
|
|
|
|
|
|
|
@ -116,7 +110,6 @@ class SerialStream : public OutputStream, public Serial {
|
|
|
|
|
* \param x Column in window
|
|
|
|
|
* \param y Row in window
|
|
|
|
|
*
|
|
|
|
|
* \todo(11) Implement Method
|
|
|
|
|
*/
|
|
|
|
|
void setPos(int x, int y);
|
|
|
|
|
|
|
|
|
|
|