def init_lcd(self): i2c = I2C(scl=Pin(self.DISSCL), sda=Pin(self.DISSDA), freq=400000) self.lcd = I2cLcd(i2c, self.DEFAULT_LCD_ADDR, 2, 16)