mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
drivers/lcd: Add support to Alphanumeric Sitronix ST7032i display
This commit is contained in:
committed by
Gregory Nutt
parent
0af39e1493
commit
ed64da90fa
@@ -1198,5 +1198,18 @@ config LCD_BACKPACK
|
||||
|
||||
See pcf8574_lcd_backpack_readme.txt
|
||||
|
||||
config LCD_ST7032
|
||||
bool "ST7032 over I2C (i.e. JLX1602G-390)"
|
||||
default n
|
||||
depends on I2C
|
||||
---help---
|
||||
Enable support for ST7032i on I2C. This driver was tested with
|
||||
JLX1602G-390 that has 10 pins: CAP1N, CAP1P, VOUT, VCC, SHLS,
|
||||
SHLC, GND, SDA, SCL, XRESET. The XRESET pin is connected to a
|
||||
pull-up resistor, then the module automatically executes power-on
|
||||
reset when power is supplied to the module. The pin SHLS is also
|
||||
connected to a pull-up resistor and the pin SHLC is connected to
|
||||
the ground. So only I2C pins SDA and SCL are used by NuttX.
|
||||
|
||||
endif # SLCD
|
||||
endmenu # LCD Driver Support
|
||||
|
||||
@@ -128,6 +128,10 @@ ifeq ($(CONFIG_SLCD),y)
|
||||
ifeq ($(CONFIG_LCD_BACKPACK),y)
|
||||
CSRCS += pcf8574_lcd_backpack.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LCD_ST7032),y)
|
||||
CSRCS += st7032.c
|
||||
endif
|
||||
endif # CONFIG_SLCD
|
||||
|
||||
# Include LCD driver build support (the nested if-then-else implements an OR)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user