예제 #1
0
파일: lcd_local.py 프로젝트: chuckbook/mpx
def setup(slot='X'):
    lcd = LCD160CR_G(slot)  # Set connection
    lcd.set_orient(lcd160cr.LANDSCAPE)  # and orientation
    lcd.set_font(font10)
    Screen.setup(lcd)
예제 #2
0
def setup():
    lcd = LCD160CR_G("Y")  # Set connection
    lcd.set_orient(lcd160cr.LANDSCAPE)  # and orientation
    Screen.setup(lcd)