LCD display
Fork of LCDLib by
Diff: TextLCD.h
- Revision:
- 9:9529e943259c
- Parent:
- 8:b12188ddd403
- Child:
- 11:0af18f5aa473
--- a/TextLCD.h Sun Sep 20 15:55:57 2015 +0000 +++ b/TextLCD.h Sun Sep 20 17:03:29 2015 +0000 @@ -54,9 +54,26 @@ * @param rw Read/Write (is forced to '1') * @param e Enable line (clock) * @param d4-d7 Data lines for using as a 4-bit interface + * @param name I/O stream name (Optional) + * + * Stream example code: + * @code + * #include "mbed.h" + * #include "TextLCD.h" + * + * TextLCD lcd(D11,D10,D9,D5,D4,D3,D2,"lcdOut"); + * int main() + * { + * freopen("/lcdOut", "w", stdout); + * printf("Hello World"); + * while(1) { + * wait_ms(300); + * } + * } + * */ TextLCD(PinName rs,PinName rw, PinName e, PinName d4, PinName d5, - PinName d6, PinName d7) ; + PinName d6, PinName d7,const char* name) ; //