I would strongly suggest using Bill Perry's hd44780.h. It is available through the library manager.
It is self configuring for both i2c address and driver chip wiring variations. It is plug and play.
There is a diagnostic sketch to run if there are any issue.