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

How to change the picture on nextion?

nodoubtman opened this issue · comments

Can we change the picture on the nextion display?

And how?

Thanks.
Marc.

Hello,
Could you be more specific?
And please read the documentation as you might find what you are looking for.

Hello, i mean how to change Picture ( p0, p1, p2, etc...)

It's not written in the docs

thanks.
Marc.

Hello,
In picture components, there is a numeric attribute "pic", where the value is the id of the picture.
You can use the writeNum() function, and as the documentation says:
"Description: For writing numbers in numeric attributes in components of any kind (variables, textboxes, etc.)."
https://github.com/Seithan/EasyNextionLibrary#function-writenum