Add helper for "beeps" command

This commit is contained in:
Simon Larsson
2021-08-13 18:36:20 +02:00
parent 4a2cbc5d97
commit b947783ace
+5
View File
@@ -254,3 +254,8 @@ def makeALARM(alarm, seq):
pkgdata += makepkg([0x70]+data)
return bytes(pkgdata)
def makeBEEPS(hourly=0, button=0):
data = [hourly, button]
return makepkg([0x71]+data)