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