added beep
This commit is contained in:
parent
cc01663be2
commit
a1b21cb26e
@ -30,6 +30,8 @@ def init(beep_success=True):
|
||||
if beep_success: keithley.write("beeper.beep(0.5, 1000)")
|
||||
return keithley
|
||||
|
||||
def beep(instr, length=0.5, pitch=1000):
|
||||
instr.write(f"beeper.beep({length}, {pitch})")
|
||||
|
||||
def exit(instr):
|
||||
instr.close()
|
||||
|
Loading…
Reference in New Issue
Block a user