TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface
Dependents: tarea1 pid_teclas Tarea3_Teclado Tarea3_Teclado_Mejoras ... more
Fork of TextLCD by
Revision 8:0e0132807662, committed 2013-10-16
- Comitter:
- lcorralesc1
- Date:
- Wed Oct 16 17:08:03 2013 +0000
- Parent:
- 7:44f34c09bd37
- Commit message:
- This library shows in a LCD display the values of the parameters: sp, kd, ki, kp; which can be inceased, decreaded or changing position by push-buttons. This is the first part of a PID controler
Changed in this revision
TextLCD.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 44f34c09bd37 -r 0e0132807662 TextLCD.h --- a/TextLCD.h Sat Dec 04 11:29:57 2010 +0000 +++ b/TextLCD.h Wed Oct 16 17:08:03 2013 +0000 @@ -42,7 +42,7 @@ */ class TextLCD : public Stream { public: - +void writeCommand(int command); //quedo publica ya la podemos usar en el codigo C /** LCD panel format */ enum LCDType { LCD16x2 /**< 16x2 LCD panel (default) */ @@ -87,7 +87,8 @@ int rows(); int columns(); - + + protected: // Stream implementation functions @@ -97,7 +98,7 @@ int address(int column, int row); void character(int column, int row, int c); void writeByte(int value); - void writeCommand(int command); + //void writeCommand(int command); esta se documenta para poder poner comandos quedo publica void writeData(int data); DigitalOut _rs, _e; @@ -109,3 +110,4 @@ }; #endif +