from gpiozero import Button


def update():
    print("Update")

update = Button(17)
update.hold_time = 7
update.when_held = update

while True:
    pass


# channel_list = [17, 22, 23, 27]

@@ -64,16 +64,20 @@
 %0A%0Aupdate
+_btn
  = Butto
@@ -88,16 +88,20 @@
 )%0Aupdate
+_btn
 .hold_ti
@@ -113,16 +113,20 @@
 7%0Aupdate
+_btn
 .when_he

update script