2024-03-01から1ヶ月間の記事一覧

freenove StopWatch.py

次のコードが間違っていた def selectDigit(digit): # Open one of the 7-segment display and close the remaining three, the parameter digit is optional for 1,2,4,8 GPIO.output(digitPin[0],GPIO.LOW if ((digit&0x08) == 0x08) else GPIO.HIGH) GPIO…