Closed javed222 closed 3 years ago
Hello. Simple. You register an event handler on a button. When the button is touched you do ‘val = await nextion.get(“t0.txt”)’
Hello!! Thanks
if I do this:
have this error:
please tell me what i have to do
thank you very much!! Javier
also try this:
and have this error:
i am lost with this Thanks Javier
Second approach is right. One mistake: not ‘nextion’ but ‘client’ in your case and define it somewhere in the module level.
Jevgeni
15 сент. 2020 г., в 16:32, javed222 notifications@github.com написал(а):
also try this:
and have this error:
i am lost with this Thanks Javier
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks Jevgeni!! just one doubt
I rename "nextion" to "client", but client is not declared yet... Please where i must declare client?
Thank you so much for everything Javier
Make this variable global. A search engine will help 😅
Jevgeni
15 сент. 2020 г., в 18:18, javed222 notifications@github.com написал(а):
Thanks Jevgeni!! just one doubt
I rename "nextion" to "client", but client is not declared yet... Please where i must declare client?
Thank you so much for everything Javier
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
you are right sorry
Thank you Jevgeni!! All is right now Javier
Hello! I am trying to read in python, text data from nextion for validate user and password information. Pressing button b0.txt, send from t0.txt “hello”
In raspberry pi can see two messages:
How I can retrieve data text message in a variable with your python client? Thanks Javier