Need help with codes (continuity cable tester with lcd 16x2 i2C)

I also have NewLiquidCrystal library installed, i don't know how to change the code from 20x4 to 16x2 i2c