Using std::ostream with TextLCD
Dependencies: ACM1602NI TextLCD
Dependents: TextLCD_ostream_sample
This is class library inherited std::ostream for TextLCD
Because a large amount of memory is needed, do not work in low memory MPU
Sample program is here. And notebook page is here (sorry notebook page is only in Japanese)
Diff: TextLCD_ostream.cpp
- Revision:
- 4:3a1291526e04
- Parent:
- 3:183bcab4951b
--- a/TextLCD_ostream.cpp Wed Jun 22 08:28:51 2016 +0000 +++ b/TextLCD_ostream.cpp Sun Jun 26 08:32:25 2016 +0000 @@ -8,12 +8,12 @@ lcd_ostream& lcd_ostream::locate(int column, int row) { - lcd->locate(column,row); + lcdp->locate(column,row); return *this; } lcd_ostream& lcd_ostream::cls() { - lcd->cls(); + lcdp->cls(); return *this; }