-
Notifications
You must be signed in to change notification settings - Fork 34
GetValue strange behavior #40
Comments
this is the solution For UNO For MEGA SoftwareSerial nextionSerial(MEGA_RX_PIN, MEGA_TX_PIN); // RX, TX |
Hi |
I have the same problem, my result for getValue() is always 0 |
Hi, Hoping that can help you |
There is nothing wrong with communication, because I can read the callback events and read and change textboxes |
Hi Into your source code add the screen name into the variable declaration: see ECRANS.onoff_pompBois //---------------------------------------- NextionVariableNumeric MyVar(nex, ECRAN_1, 6, "ECRANS.onoff_pompBois"); try this Good luck |
Hi,
I have a Numeric Variable I can SET the variable but when i read the Value the result is 0 ??
Same for a Slider , I can change color and value but when I use slider.getValue() the result is 0 !!
Every setValue => OK Every getValue => not OK return value are 0
An Idea ?
Arduino Mega 2560 and screen Nextion NX4832K035_011 or NX4832T035_011
The text was updated successfully, but these errors were encountered: