MCPcopy Create free account
hub / github.com/blinker-iot/blinker-py / button1_callback

Function button1_callback

example/example.py:17–22  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

15
16
17async def button1_callback(msg):
18 global num
19
20 num += 1
21
22 await number1.text("num").value(num).update()
23
24
25async def button2_callback(msg):

Callers

nothing calls this directly

Calls 3

updateMethod · 0.45
valueMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected