inkplate5/advanced/rtc/interrupt_alarm

Example of the component solderedelectronics/inkplate v1.1.0
# RTC — Interrupt Alarm

RTC alarm with hardware interrupt handling for Soldered Inkplate 5.

## Overview

Demonstrates how to use the PCF85063A RTC alarm functionality together with its interrupt output on Inkplate 5. The example sets time and date, configures an alarm, reads current time, displays it via partial updates, and handles the RTC interrupt event in software.

## Hardware Required

- Soldered Inkplate 5
- USB cable

## Setup

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

Set the alarm time and initial RTC time/date in `main.cpp`.

## Build and Flash

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

## Expected Output

- Inkplate display shows current date and time.
- Alarm interrupt is triggered at the configured time.

## Notes

- Inkplate 5 uses the PCF85063A RTC chip.
- RTC interrupt is connected to GPIO39 on Inkplate 5.
- Partial update works only in 1-bit (black & white) mode.
- Perform a full refresh every 5–10 partial updates to maintain display quality.

## 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=1.1.0:inkplate5/advanced/rtc/interrupt_alarm"

or download archive (~3.41 KB)