Bugfixes and strobe
parent
700ac52b99
commit
069b6a33fc
|
@ -111,6 +111,8 @@ def cbButton1(button_id):
|
||||||
ugfx.display_image(0, 0, "holland/eu.png")
|
ugfx.display_image(0, 0, "holland/eu.png")
|
||||||
|
|
||||||
def cbButton2(button_id):
|
def cbButton2(button_id):
|
||||||
|
sim800.speakervolume(100)
|
||||||
|
sim800.stopplayback()
|
||||||
show_screen(0x000000, 0xFFFFFF, "PLAY")
|
show_screen(0x000000, 0xFFFFFF, "PLAY")
|
||||||
a = sim800.startplayback(1,0,100)
|
a = sim800.startplayback(1,0,100)
|
||||||
if not a:
|
if not a:
|
||||||
|
@ -238,5 +240,7 @@ while True:
|
||||||
else:
|
else:
|
||||||
n.display([0x000000, 0x000000])
|
n.display([0x000000, 0x000000])
|
||||||
aaa = True
|
aaa = True
|
||||||
|
if not vip:
|
||||||
|
time.sleep(0.1)
|
||||||
else:
|
else:
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
Loading…
Reference in New Issue