compLib.Buzzer.
Buzzer
Used to interact with the buzzer
set
Turn the buzzer on / off
on – True if on, False if off
import time from compLib.Buzzer import Buzzer Buzzer.set(True) time.sleep(1) Buzzer.set(False)