Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ACM1602NI TextLCD
Dependents: TextLCD_ostream_sample
TextLCD_ostream.cpp
- Committer:
- jk1lot
- Date:
- 2016-06-22
- Revision:
- 3:183bcab4951b
- Parent:
- 1:e46139d4b8ba
- Child:
- 4:3a1291526e04
File content as of revision 3:183bcab4951b:
#include "TextLCD_ostream.h"
lcd_streambuf::int_type lcd_streambuf::overflow(lcd_streambuf::int_type c)
{
if( c != EOF ) lcd->putc(c);
return c;
}
lcd_ostream& lcd_ostream::locate(int column, int row)
{
lcd->locate(column,row);
return *this;
}
lcd_ostream& lcd_ostream::cls()
{
lcd->cls();
return *this;
}