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

Read/Write EEProm

Grandpa-G opened this issue · comments

Can you give and example of how to read and write an integer into eeprom? I would prefer the value come back to the arduino to process but I will take anything.

Hello @Grandpa-G ,

This is not a library issue.

Save the value you want into a variable and then store it to EEPROM with the eeprom commands. More details here

If your value exceeds 255, see here how to do that

The first link seems to talk about an eeprom in the Arduino. I am asking about how to save in the Nextion eeprom? I see the wepo and repo Nextion commands, but I don't understand how to use your library to use them I think I understand writing with the writeStr function, but how do I read it back, readStr? I just get a value of ERROR.

Maybe I will switch to Arduino eeprom. Thanks.

It is better to store the values that you use for calculations on Arduino and then display the risults on Nextion