Start a new topic

Send data from Nextion to Arduino

Hi,


I am working on a project where I have to get data from the display and assign the values to some variables in the Arduino Code. Currently, I have only programmed one button. I am using the basic 2.8 inch nextion display.


On the Homescreen, the user can see 3 textfields. On pressing any of the textfields, the user is taken to another screen where they can input the value they want. When OK button is pressed on the input screen (Keypad), I want the Nextion to send the data to the Arduino. I use a variable in the Keypad screen to know which field was pressed so that only that variable's value can be updated in the arduino code.


Any help would be greatly appreciated. I have no knowledge of how the nextion library works since I am a newbie. 

Keypad.jpg
(46 KB)
Homescreen.jpg
(17.5 KB)
HMI
ino
1 Comment

Forum has been closed since the Nov. 15, 2017  23:59:59.

Please use new forum nextion.itead.cc