Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
async
def
button1_callback(msg):
18
global num
19
20
num += 1
21
22
await number1.text(
"num"
).value(num).update()
23
24
25
async
def
button2_callback(msg):
Callers
nothing calls this directly
Calls
3
update
Method · 0.45
value
Method · 0.45
text
Method · 0.45
Tested by
no test coverage detected