ring ring

master
Stephen Kerr 2 years ago
parent 6cb7038cb1
commit 9d0959c1e3

@ -21,7 +21,7 @@ while True:
print("some one is calling")
time.sleep(3) #wait 3 seoncds
sim800l.command("ATA\n") #answer the phone
audio = random.choice(audios)
audio = rando`m.choice(audios)
print("playing python file")
os.system("play " + audio + " &")
while True:

Loading…
Cancel
Save