A TextDisplay driver that supports graphical displays using on of the SED133x conrtrolers. Allows stdout and stderr output to be redirected to the display.
Diff: Sed133xLCD.h
- Revision:
- 8:66be6a696e4e
- Parent:
- 7:d79600310cfe
diff -r d79600310cfe -r 66be6a696e4e Sed133xLCD.h --- a/Sed133xLCD.h Sat Jan 29 21:04:53 2011 +0000 +++ b/Sed133xLCD.h Sat Jan 29 21:22:08 2011 +0000 @@ -49,14 +49,12 @@ * Required pins: * @code * 8 bits for the databus + - * *Reset + * *Reset (note 1) * *Read * *Write * *ChipSelect * A0 - * @endcode * - * @code * Note1: Reset is a Schmitt trigger input that can normally not be driven from * an output pin. The other pins can be directly connected to the MBED * +5V @@ -70,12 +68,13 @@ * | * ___ * @endcode - Character sizes can be set as desired (default 6*8). The SED seems to use a - 5*7 font internally other font sizes use additional white space around the - characters. - Font widths of more than 8 pixels are not supported. - The actual size of the display in characters is caluclated from the horizontal/ - vertical resolution and the specified font size. + * + * Character sizes can be set as desired (defaults to 6*8). The SED seems to use a + * 5*7 font internally other font sizes use additional white space around the + * characters. + * Font widths of more than 8 pixels are not supported. + * The actual size of the display in characters is caluclated from the horizontal/ + * vertical resolution and the specified font size. * Example: * @code @@ -104,11 +103,11 @@ * @param nSelect PinName for /select * @param addr0 PinName for addr0 * @param d0-d7 PinName for D0 -D7 - * @param hor_dots horizontal resolution of display (in pixels), default: 256 - * @param vert_dots vertical resolution of display (in pixels), default: 128 - * @param char_width disply width of character (in pixels), default: 6 - * @param char_height display height of character (in pixels), default: 8 - * @param name name to be used in pathname of the stream (defaults to "sed133x") + * @param hor_dots horizontal resolution of display (in pixels) + * @param vert_dots vertical resolution of display (in pixels) + * @param char_width disply width of character (in pixels) + * @param char_height display height of character (in pixels)8 + * @param name name to be used in pathname of the stream */ Sed133xLCD(PinName reset, PinName nRead, PinName nWrite, PinName nSelect,PinName addr0,