static void strobe (struct lcdDataStruct *lcd)
{
- digitalWrite (lcd->strbPin, 1) ; delayMicroseconds (1) ;
+
+// Note timing changes for new version of delayMicroseconds ()
+
+ digitalWrite (lcd->strbPin, 1) ; delayMicroseconds (50) ;
digitalWrite (lcd->strbPin, 0) ; delayMicroseconds (50) ;
}
}
+/*
+ * 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