docs on the extra init parameters

Issue #60 closed
Torsten Curdt
created an issue

I would be great to explain how to figure out the extra parameters (besides the address)

LiquidCrystal::LiquidCrystal(uint8_t rs, uint8_t enable,
                             uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3,
                             uint8_t backlightPin, t_backlighPol pol)
{
   init(LCD_4BIT, rs, 255, enable, d0, d1, d2, d3, 0, 0, 0, 0);
   setBacklightPin ( backlightPin, pol );
}

I was only lucky to have found this line that seems to work for my display

LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);

Comments (2)

  1. Francisco Malpartida repo owner

    The parameters are direct pin mapping from your LCD to the backpack's I2C extension module. If the manufacturer doesn't supply it you will have to figure them out in order to get it going.

    I will close this and open a generic documentation item so that I can improve the library's documentation.

  2. Log in to comment