You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/03/18 17:25:34 UTC
[incubator-nuttx] 01/02: drivers/lcd/pcf8574_lcd_backpack.c:
increase delay for HOME and CLEAR instructions
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit b9b7af10013c0bcc2aa997daec82300b5c65724e
Author: Pierre-Olivier Vauboin <po...@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 */