def setup(slot='X'): lcd = LCD160CR_G(slot) # Set connection lcd.set_orient(lcd160cr.LANDSCAPE) # and orientation lcd.set_font(font10) Screen.setup(lcd)
def setup(): lcd = LCD160CR_G("Y") # Set connection lcd.set_orient(lcd160cr.LANDSCAPE) # and orientation Screen.setup(lcd)