mirror of
https://github.com/Snigelson/pytimex.git
synced 2026-09-15 02:42:28 +00:00
Add helper for "beeps" command
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user