]>
git.gir.st - tmk_keyboard.git/blob - tool/mbed/mbed-sdk/libraries/tests/mbed/freopen/TextLCD.h
1 /* mbed TextLCD Library Base Class
2 * Copyright (c) 2007-2009 sford
3 * Released under the MIT License: http://mbed.org/license/mit
5 #include "TextDisplay.h"
10 class TextLCD
: public TextDisplay
{
13 TextLCD(PinName rs
, PinName rw
, PinName e
, PinName d0
, PinName d1
, PinName d2
, PinName d3
, const char *name
= NULL
);
14 virtual void character(int column
, int row
, int c
);
16 virtual int columns();
18 // locate, cls, putc, printf come from derived class
22 void writeByte(int value
);
23 void writeCommand(int command
);
24 void writeData(int data
);
26 DigitalOut _rw
, _rs
, _e
;