Update testaukset.py

This commit is contained in:
2026-01-08 09:16:14 +00:00
parent a49dfdc195
commit b92c6142f7

View File

@@ -9,9 +9,10 @@ button = GPIO(6, GPIO.IN)
# create PWM instance
pwmPin = 12
pwm = rGPIO.PWM(pwmPin, 10)
rGPIO.setmode(rGPIO.BCM)
rGPIO.setup(pwmPin, rGPIO.OUT)
pwm = rGPIO.PWM(pwmPin, 10)
pwm.start(0)
# 1000 Hz sound