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

send value to a component text an other page #38

Open
anthology opened this issue Oct 18, 2018 · 2 comments
Open

send value to a component text an other page #38

anthology opened this issue Oct 18, 2018 · 2 comments

Comments

@anthology
Copy link

anthology commented Oct 18, 2018

hello
it's possible to send a value of componentText on other page ?
this code work on the page where temp1 is but not on other page
myNextion.setComponentText("temp1", String(temp1));
it's possible to send like this
myNextion.setComponentText("page1.temp1", String(temp1));
thanks a lot

@digi-thomas2003
Copy link

Yes it is possible: The vscope of the component must be set as global.

@anthology
Copy link
Author

hello
thanks for your response, i have set global to all vscope of my component but when i send date, i received error

thanks a lot

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

2 participants