Vittorio
Vittorio
I'm using this library since a while, no issues in button callback (or other components) Check the component ID in variable declaration, I experienced that 90% of times the issue...
I experienced is not a good method to update components in loop: the serial will be always (or almost) committed to send data (anche check return values). In my projects,...
Yes, loop is like a timer but, even with get sensor data and other operations, it's too fast. If you update data, for example, every 2-3 seconds there will be...
Another tip, I don't know if it's your case, is to update components only on the page currently displayed (even with components set as global). I've a variabile that tracks...
The most probable issue that can cause what you're experiencing is wrong ID component in variable declarations. But are you sure the display is communicating with Arduino? A simple code...
I did: 3 buttons, 3 number field and 2 text field. 2 numbers are updated every seconds by RTC; as expected, **the callbacks ARE fired**, so there's no issue on...
@DanNixon you're right. That's the same I wrote (loop too fast); I modified my code above: it works even with a 100ms interval, below that value it's unresponsive. But @rangathedon...
I just added a code for doing this :)
I always use sendCommand; for example nex.sendCommand("vis p7,0") // of course nex is Nextion object
I agree