We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57f765b commit c04204aCopy full SHA for c04204a
1 file changed
PicoAutonomousRobotics.py
@@ -285,6 +285,7 @@ def __init__(self):
285
self.conversionFactor = 0.0343
286
self.maxDistanceTimeout = int( 2 * 500 /self.conversionFactor) # 500cm is past the 400cm max range by a reasonable amount for a timeout
287
self.buzzer = PWM(Pin(16))
288
+ self.buzzer.duty_u16(0) #ensure silence by setting duty to 0
289
#setup LineFollow Pins
290
self.CentreLF = ADC(27)
291
self.LeftLF = ADC(28)
0 commit comments