libreria para el manejo del lcd 16x2

Dependents:   tarea2-3

Fork of TextLCD by Simon Ford

Files at this revision

API Documentation at this revision

Comitter:
caaruizze
Date:
Mon Nov 18 14:12:53 2013 +0000
Parent:
7:44f34c09bd37
Commit message:
libreria LCD 16X2;

Changed in this revision

TextLCD.h Show annotated file Show diff for this revision Revisions of this file
diff -r 44f34c09bd37 -r c9de92a922fb TextLCD.h
--- a/TextLCD.h	Sat Dec 04 11:29:57 2010 +0000
+++ b/TextLCD.h	Mon Nov 18 14:12:53 2013 +0000
@@ -43,12 +43,14 @@
 class TextLCD : public Stream {
 public:
 
+void writeCommand(int command);
+
     /** LCD panel format */
     enum LCDType {
-        LCD16x2     /**< 16x2 LCD panel (default) */
-        , LCD16x2B  /**< 16x2 LCD panel alternate addressing */
-        , LCD20x2   /**< 20x2 LCD panel */
-        , LCD20x4   /**< 20x4 LCD panel */
+         LCD16x2,    /**< 16x2 LCD panel (default) */
+         LCD16x2B,  /**< 16x2 LCD panel alternate addressing */
+         LCD20x2,   /**< 20x2 LCD panel */
+         LCD20x4,   /**< 20x4 LCD panel */
     };
 
     /** Create a TextLCD interface
@@ -97,7 +99,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);
     void writeData(int data);
 
     DigitalOut _rs, _e;