匯入模組並檢查它是否成功: import RPi.GPIO as GPIO try: import RPi.GPIO as GPIO except RuntimeError : print("匯入RPi.GPIO時出錯,可能是 ...
確定! 回上一頁