chiark / gitweb /
Quite a few changes here.
[wiringPi.git] / wiringPi / lcd.c
index aa58cab1c83e4ff21ff9bd102916e41638777be8..f123db28af813c6ebedf947b72c3ab14aaf04004 100644 (file)
@@ -174,6 +174,18 @@ void lcdClear (int fd)
 }
 
 
+/*
+ * lcdSendCommand:
+ *     Send any arbitary command to the display
+ *********************************************************************************
+ */
+
+void lcdSendCommand (int fd, uint8_t command)
+{
+  struct lcdDataStruct *lcd = lcds [fd] ;
+  putCommand (lcd, command) ;
+}
+
 /*
  * lcdPosition:
  *     Update the position of the cursor on the display