Modified TextLCD lib. The RW signal is also connected to a IO pin. This enable to read out the display memory and the busy flag. The timing is switched from delays to wait for the busy flag. Added writeCGRAM function to define user chars 0-7.
Fork of TextLCD by
Diff: TextLCD.h
- Revision:
- 1:ac2c6d0cc538
- Parent:
- 0:2ceba7f90dd4
- Child:
- 2:e8326f05cdcb
--- a/TextLCD.h Sun Dec 05 23:51:19 2010 +0000 +++ b/TextLCD.h Mon Dec 06 00:01:25 2010 +0000 @@ -88,7 +88,19 @@ int rows(); int columns(); + + /** write a user defined char + * + * @param address The user defined char (0-7) + * @param pattern[8] bit pattern 5*8 of char + */ void writeCGRAM(int address, int pattern[8]); + + /** Get the char at the current position + * + * int getc() + */ + protected: // Stream implementation functions