Seithan / EasyNextionLibrary

A simple library for Nextion display that uses only four functions. You can easily benefit from Nextion's wide range of features and advantages in just a few easy steps. The library uses a custom protocol that can prove to be a powerful tool for advanced users as it can be easily modified to meet one’s needs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change value of multiple numbers

gtetil opened this issue · comments

First off, I'm very impressed with your library. It is the by far the best Nextion library I have used so far. Unfortunately, I'm experiencing a very elementary problem. I have 2 numbers on the Nextion display (on the same page).

When I run these two lines, n0 updates as expected:

myNex.writeNum("n0.val", nex_temp);
myNex.writeNum("n0.val", nex_temp);

When I run these two lines, neither n0 or n1 update:

myNex.writeNum("n0.val", nex_temp);
myNex.writeNum("n1.val", nex_temp);

When I run these two lines, n2 updates as expected:

myNex.writeNum("n2.val", nex_temp);
myNex.writeNum("n2.val", nex_temp);

I seemingly can't write to more than one number.

Sorry. Figured it out.

Same to me.