inkplate5/advanced/other/eeprom_usage

# EEPROM Usage (NVS)

Store and read persistent data using NVS on Soldered Inkplate 5 using LVGL.

## Overview

Demonstrates storing and reading persistent data using NVS (Non-Volatile Storage), which replaces Arduino EEPROM in ESP-IDF. Writes 128 bytes to the "user_data" NVS namespace, reads them back, and verifies the data. Result is shown on the display.

## Hardware Required

- Soldered Inkplate 5
- USB cable

## Setup

Run `idf.py menuconfig` and navigate to:
**Inkplate Boards → Inkplate5**

## Build and Flash

```
idf.py build
idf.py -p PORT flash monitor
```

## Expected Output

Display shows whether the write/read/verify cycle succeeded.

## Notes

- NVS "user_data" namespace is separate from Inkplate's internal "inkplate" namespace used for waveform data — no conflict.
- Data persists across reboots until explicitly erased.
- `lv_refr_now()` renders the LVGL scene into the framebuffer.
- `display.display()` must be called to update the physical e-paper panel.

## Resources

- Docs: https://docs.soldered.com/inkplate
- Support: https://forum.soldered.com/
- Image tool: https://tools.soldered.com/tools/image-converter/

To create a project from this example, run:

idf.py create-project-from-example "solderedelectronics/inkplate_lvgl=1.1.1:inkplate5/advanced/other/eeprom_usage"

or download archive (~3.11 KB)