ui.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:telewall 作者: synox 项目源码 文件源码
def start():
    """  start running the ui. GPIO must only be loaded when it is stared, as the library is not available on the
         build computer.
    """
    from RPi import GPIO
    GPIO.setwarnings(False)
    GPIO.setmode(GPIO.BOARD)  # use pin numbers as written on the board

    main_led.start()
    button_led.start()
    display.start()
    button.start()

    CallState.add_listener(on_call_state_change)

    main_led.queue(Startup())
    button_led.queue(StartupButton())
    display.show(10, 'Telewall')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号