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

Read from Nextion Screen #19

Open
baarini opened this issue Jul 2, 2016 · 4 comments
Open

Read from Nextion Screen #19

baarini opened this issue Jul 2, 2016 · 4 comments

Comments

@baarini
Copy link

baarini commented Jul 2, 2016

Hi,

I noticed that these Libraries doesn't have the features to read inputs from Nextion to Arduino.
i.e. read the Text Component Value to Arduino or the Number Component value to Arduino.
Does anyone has such a code to do it?

Thanks.

@Operrr
Copy link

Operrr commented Dec 8, 2016

int i=myNextion.getComponentValue("page0.n0"); - Worked
string i=myNextion.getText("page0.va0"); - No worked

@AndreasKouv
Copy link

string i=myNextion.getText("page0.va0"); - No worked

you try to get text from Nextion, but as I understand you have a "numeric" variable which is not text.
try to convert the "text_data" you have received into "int" type data.

@baarini
Copy link
Author

baarini commented Jan 26, 2019

Thanks, I'll try it!

@raulcq01
Copy link

i need to save a text value to char from Text component in arduino, any ideas?

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

4 participants