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.
Dependents: TwitterClient CSVParser _EXAMPLE_RFM12B mbed_blinky6 ... more
Revision 1:ac2c6d0cc538, committed 2010-12-06
- Comitter:
- dreschpe
- Date:
- Mon Dec 06 00:01:25 2010 +0000
- Parent:
- 0:2ceba7f90dd4
- Child:
- 2:e8326f05cdcb
- Commit message:
- 0.2
Changed in this revision
TextLCD.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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