X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=wiringPi%2Flcd.c;h=f123db28af813c6ebedf947b72c3ab14aaf04004;hb=e8f6258004e59b1452806e5c45bb6598d0158dd2;hp=aa58cab1c83e4ff21ff9bd102916e41638777be8;hpb=db925cea180cf3f67ee13e0a5a0cd2fc9d3ce564;p=wiringPi.git diff --git a/wiringPi/lcd.c b/wiringPi/lcd.c index aa58cab..f123db2 100644 --- a/wiringPi/lcd.c +++ b/wiringPi/lcd.c @@ -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