imageProcTest.py 文件源码

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

项目:CanLauncher 作者: hazenhamather 项目源码 文件源码
def main():
    # cap = cv2.VideoCapture(0)
    os.system("cd /dev")
    os.system("v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=1")
    os.system("cd ~/CanLauncher")

    os.system("config-pin -a P9_14 pwm")
    os.system("config-pin -a P9_21 pwm")
    os.system("config-pin -a P9_22 pwm")

    GPIO.setup(startButton, GPIO.IN)
    GPIO.setup(confirmButton, GPIO.IN)
    # GPIO.setup(launchButton, GPIO.IN)

    time.sleep(0.5)

    boom()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号