Unofficial Nextion/TJC User Forum

EEPROM default values?

Hi all

What is the default state of EEPROM registers if they have never been written to?
I was assuming it was FFFF.
If I look at the eeprom.bin (in hex view), all the registers are indeed FFFF.

However, if I close the Editor down, delete the eeprom.bin file and relaunch the Editor (where it recreates a fresh eeprom.bin file), all the EEPROM registers are now 0000.

???

FFFF is the same as 0000 just in hex

What?
A set bit is not the same as a cleared bit.

FFFF is either 65535 when seen as unsigned or -1 as signed, but never 0000.


This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).