Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An Example might be wrong when I demo it on ubuntu. @blynk.on => @blynk.ON #69

Open
tangnatta opened this issue Dec 13, 2022 · 0 comments

Comments

@tangnatta
Copy link

@blynk.on("connected")
def blynk_connected(ping):
    print('Blynk ready. Ping:', ping,  'ms')


@blynk.on("disconnected")
def blynk_disconnected():
    print('Blynk disconnected')


@blynk.on("V*")
def blynk_handle_vpins(pin, value):
    print("V{} value: {}".format(pin, value))

is NOT working
but

@blynk.ON("connected")
def blynk_connected(ping):
    print('Blynk ready. Ping:', ping,  'ms')


@blynk.ON("disconnected")
def blynk_disconnected():
    print('Blynk disconnected')


@blynk.ON("V*")
def blynk_handle_vpins(pin, value):
    print("V{} value: {}".format(pin, value))

is working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant