* This driver supports the 'I2C lcd backpack' design that is based on the PCF8574 io expander. There's a myriad of different vendors of such, but they are principally the same, save wiring and minor features like jumpers for I2C addresses. This driver supports known and unknown variants.

*  The interface board supports HD44780-based LCD modules up to 4x32, and this driver accommodates all those formats.
This commit is contained in:
Dave 2016-05-25 08:06:32 -06:00 committed by Gregory Nutt
parent 04223a9618
commit dc1c27cee7
5 changed files with 29 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX README Files</i></font></big></h1>
<p>Last Updated: May 20, 2016</p>
<p>Last Updated: May 26, 2016</p>
</td>
</tr>
</table>
@ -316,7 +316,8 @@ nuttx/
| |- eeprom/
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/drivers/eeprom/README.txt" target="_blank"><b><i>README.txt</i></b></a>
| |- lcd/
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/drivers/lcd/README.txt" target="_blank"><b><i>README.txt</i></b></a>
| | |- <a href="https://bitbucket.org/nuttx/nuttx/src/master/drivers/lcd/README.txt" target="_blank"><b><i>README.txt</i></b></a>
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/drivers/lcd/pcf8574_lcd_backpack_readme.txt" target="_blank"><b><i>pcf8574_lcd_backpack_readme.txt</i></b></a>
| |- mtd/
| | `- <a href="https://bitbucket.org/nuttx/nuttx/src/master/drivers/mtd/README.txt" target="_blank"><b><i>README.txt</i></b></a>
| |- sensors/

View File

@ -1491,7 +1491,8 @@ nuttx/
| |- eeprom/
| | `- README.txt
| |- lcd/
| | `- README.txt
| | | README.txt
| | `- pcf8574_lcd_backpack_readme.txt
| |- mtd/
| | `- README.txt
| |- sensors/

View File

@ -1003,3 +1003,18 @@ config LCD_LCD1602
NOTE: There is no common implementation of the LCD1602 driver.
Rather, there are board-by-board implementations. See, for example,
configs/pcblogic-pic32mx/src/up_lcd1602.c.
config LCD_BACKPACK
bool "PCF8574 LCD Backpack"
default n
depends on I2C
select LIB_SLCDCODEC
---help---
Enable support for PCF8574 LCD Backpack driver. This driver supports
an interface board that is based on the PCF8574 io expander and
supports the HD44780-based (or compatible) LCD modules. There are
a myriad of different vendors of such, but they are principally the
same, save wiring and minor features like jumpers for I2C addresses.
This driver supports known and unknown variants.
See pcf8574_lcd_backpack_readme.txt

View File

@ -103,6 +103,10 @@ ifeq ($(CONFIG_LCD_RA8875),y)
CSRCS += ra8875.c
endif
ifeq ($(CONFIG_LCD_BACKPACK),y)
CSRCS += pcf8574_lcd_backpack.c
endif
# Include LCD driver build support
DEPPATH += --dep-path lcd

View File

@ -149,6 +149,11 @@ Re-usable LCD drivers reside in the drivers/lcd directory:
configs/stm32f4discovery
configs/sam4l-xplained
Segment LCDS (SLCDs):
---------------------
pcf8574_lcd_backpack.c: See pcf8574_lcd_backpack_readme.txt.
Examples: configs/
==================