Brenno!
parent
069b6a33fc
commit
2f615673fc
Binary file not shown.
After Width: | Height: | Size: 136 KiB |
|
@ -150,6 +150,11 @@ def cbButton8(button_id):
|
||||||
def cbButton9(button_id):
|
def cbButton9(button_id):
|
||||||
global strobe
|
global strobe
|
||||||
strobe = False
|
strobe = False
|
||||||
|
|
||||||
|
def cbButtonHash(button_id):
|
||||||
|
global vip
|
||||||
|
vip = False
|
||||||
|
ugfx.display_image(0, 0, "holland/brenno.png")
|
||||||
|
|
||||||
Buttons.enable_interrupt(
|
Buttons.enable_interrupt(
|
||||||
Buttons.BTN_Call,
|
Buttons.BTN_Call,
|
||||||
|
@ -223,6 +228,12 @@ Buttons.enable_interrupt(
|
||||||
on_press=True,
|
on_press=True,
|
||||||
on_release=False);
|
on_release=False);
|
||||||
|
|
||||||
|
Buttons.enable_interrupt(
|
||||||
|
Buttons.BTN_Hash,
|
||||||
|
cbButtonHash,
|
||||||
|
on_press=True,
|
||||||
|
on_release=False);
|
||||||
|
|
||||||
vip = True
|
vip = True
|
||||||
aaa = False
|
aaa = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue