Thanks!! I will try it tonight and let you know.Douglas6 wrote:Adafruit has a Python library for their 16x2 display wired to an MCP23017: https://github.com/adafruit/Adafruit_Python_CharLCD.git. I'm not saying it's wired the same way.
I tried changing the pins, but still same blocks are being displayed on the LCD.Massi wrote:i don't know the code, but are you sure this has not to bepkhandelwal wrote:Code: Select all
pins_db=[4,5,6,7]?Code: Select all
pins_db=[7,6,5,4]
if you swap datalines you'll get "something" on the display, but not what you expect (blocks and broken chars)
MCP23017 example. I am using the sample code from their git repo and have connected the pins as per the code. But when I run it, the LCD displays blocks in the first line of the LCD. I have checked and re-checked the wiring.
Thanks! I will try and post the update here.DougieLawson wrote:Try this: https://github.com/DougieLawson/Raspber ... nified_LCD that's running right now on a RPi with a quick2wire MCP23017 I2C expansion board.