bborncr / nextion

A simple Nextion HMI library for Arduino
GNU General Public License v3.0
127 stars 66 forks source link

send value to a component text an other page #38

Open anthology opened 5 years ago

anthology commented 5 years ago

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 commented 5 years ago

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

anthology commented 5 years ago

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