Atlas - buzzerd.py

Home / systems / arduino / buzzer Lines: 2 | Size: 241 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1import serial 2 3SERIAL="/dev/ttyACM0" 4PIPE="/tmp/buzzer" 5 6ser = serial.Serial(SERIAL,115200) 7 8print("buzzer daemon started") 9 10while True: 11 with open(PIPE,"r") as f: 12 for line in f: 13 ser.write((line.strip()+"\n").encode())
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.