correct logic hazard in latch and load nybble; was transitioning control lines at the same time as enable, causing spurious behaviour on less-tolerant displays

improve timing parameters in init sequences for better display compatibility

correct (row,col) -> address calculation; affects 4-line displays

update comments in header and readme
This commit is contained in:
ziggurat29
2016-05-29 11:09:00 -05:00
parent 4cc722aa1a
commit 4643fcdfd8
3 changed files with 43 additions and 21 deletions
+6 -3
View File
@@ -58,12 +58,15 @@
* Pretty much anything on the market except 4x40, which really consists of two
* separate 2x40 controllers, and the I2C backpack doesn't support those due
* to the second 'E' line being needed.
* Additionally, you still need to set the (row,col) geometry explicitly, since
* there is not a means of determining this dynamically.
* Consider these 'informative'.
* XXX Note, actual testing has been done on LCD_I2C_BACKPACK_CFG_MJKDZ only,
* the others come from online research.
* XXX Note, actual testing has been done on LCD_I2C_BACKPACK_CFG_MJKDZ
* and LCD_I2C_BACKPACK_CFG_SAINSMART only, the others come from online
* research.
*/
/* board marked 'mjkdz' */
/* board marked 'mjkdz' and Arduino-IIC-LCD GY-LCD-V1 */
#define LCD_I2C_BACKPACK_CFG_MJKDZ {0x20,4,5,6,0,1,2,3,7,false,0,0}