stdout
Published 30 Nov 2009, by
Simon Ford

No tags
« Back to documentation index
Show/hide line numbers
TextLCD.h Source File
TextLCD.h
00001
00002
00003
00004
00005 #include "TextDisplay.h"
00006
00007 #ifndef MBED_TEXTLCD_H
00008 #define MBED_TEXTLCD_H
00009
00010 class TextLCD : public TextDisplay {
00011 public:
00012
00013 TextLCD(PinName rs, PinName rw, PinName e, PinName d0, PinName d1, PinName d2, PinName d3, const char *name = NULL);
00014 virtual void character(int column, int row, int c);
00015 virtual int rows();
00016 virtual int columns();
00017
00018
00019
00020 protected:
00021
00022 void writeByte(int value);
00023 void writeCommand(int command);
00024 void writeData(int data);
00025
00026 DigitalOut _rw, _rs, _e;
00027 BusOut _d;
00028 };
00029
00030 #endif