mirror of https://github.com/arendst/Tasmota.git
Merge pull request #15455 from s-hadinger/fix_openhasp_demo
Fix openhasp demo
This commit is contained in:
commit
ae93d41b6a
Binary file not shown.
|
@ -39,6 +39,7 @@ end
|
||||||
run_watch()
|
run_watch()
|
||||||
|
|
||||||
def p5_in()
|
def p5_in()
|
||||||
|
import global
|
||||||
global.p0b101.bg_opa = 0
|
global.p0b101.bg_opa = 0
|
||||||
global.p0b102.bg_opa = 0
|
global.p0b102.bg_opa = 0
|
||||||
global.p0b103.bg_opa = 0
|
global.p0b103.bg_opa = 0
|
||||||
|
@ -46,6 +47,7 @@ def p5_in()
|
||||||
end
|
end
|
||||||
|
|
||||||
def p5_out()
|
def p5_out()
|
||||||
|
import global
|
||||||
global.p0b101.bg_opa = 255
|
global.p0b101.bg_opa = 255
|
||||||
global.p0b102.bg_opa = 255
|
global.p0b102.bg_opa = 255
|
||||||
global.p0b103.bg_opa = 255
|
global.p0b103.bg_opa = 255
|
||||||
|
|
Loading…
Reference in New Issue