0

i2c / SPI character LCD backpack Full I2c documentation
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

i2c / SPI character LCD backpack Full I2c documentation

by DenisKudia on Mon Feb 12, 2018 7:27 pm

Hello,

I am going to use i2c / SPI character LCD backpack with Standard LCD 16x2 (Standard LCD 20x4) with Rasberry Pi 3

However I did not found any protocol description for i2c character LCD backpack i.e registers, commands etc
Probably I just not found it.

Does anyone have such document?

P.S. Sure I can do revers engineering for Arduino examples but I would like to avoid it.

DenisKudia
 
Posts: 2
Joined: Mon Feb 12, 2018 7:20 pm

Re: i2c / SPI character LCD backpack Full I2c documentation

by adafruit_support_bill on Tue Feb 13, 2018 6:53 am

We do not have a document for the low-level communication. It uses an MCP23008 chip to drive the LCD pins. The interfaces for those can be found here:
https://cdn-shop.adafruit.com/datasheets/MCP23008.pdf
https://cdn-shop.adafruit.com/datasheets/HD44780.pdf

But the libraries are probably an easier place to start. Most of the functions consist of just a few i2c commands, so they are easy to follow. We have both Python and C versions:
https://github.com/adafruit/Adafruit_Ci ... on_CharLCD
https://github.com/adafruit/Adafruit_LiquidCrystal

adafruit_support_bill
 
Posts: 68565
Joined: Sat Feb 07, 2009 10:11 am

Re: i2c / SPI character LCD backpack Full I2c documentation

by DenisKudia on Tue Feb 13, 2018 1:30 pm

Thank you

DenisKudia
 
Posts: 2
Joined: Mon Feb 12, 2018 7:20 pm

Please be positive and constructive with your questions and comments.