This is an automated email from the ASF dual-hosted git repository. gnutt pushed a commit to branch pr586 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/pr586 by this push: new 27bad13 drivers/lcd/pcf8574_lcd_backpack.c: increase delay for HOME and CLEAR instructions 27bad13 is described below commit 27bad13f688c23a6224db1bae448a89ead6fdebd Author: Pierre-Olivier Vauboin <p...@lambdaconcept.com> AuthorDate: Wed Mar 18 15:39:04 2020 +0100 drivers/lcd/pcf8574_lcd_backpack.c: increase delay for HOME and CLEAR instructions Some LCD1602 require at least 1.52 ms wait time after "Clear display" and "Return home" instructions. Make sure we wait enough. --- drivers/lcd/pcf8574_lcd_backpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/lcd/pcf8574_lcd_backpack.c b/drivers/lcd/pcf8574_lcd_backpack.c index 1299af5..63a2ad3 100644 --- a/drivers/lcd/pcf8574_lcd_backpack.c +++ b/drivers/lcd/pcf8574_lcd_backpack.c @@ -68,7 +68,7 @@ #define DELAY_US_NYBBLE0 20 #define DELAY_US_NYBBLE1 10 #define DELAY_US_WRITE 40 -#define DELAY_US_HOMECLEAR 1500 +#define DELAY_US_HOMECLEAR 2000 /* HD44780 commands */