Configuration: Select M5Paper board and serial port.
Code: Include <M5EPD.h>. In setup(), call M5.begin(). In loop(), read touch data via M5.EPD.GetTouchData().
Logic: If touch is detected, get X and Y coordinates. Display them using M5.EPD.DrawCenterString() for immediate visual feedback.
Upload: Flash the code.
Verification: Touch the screen with a finger. Displayed coordinates should match finger position. Note that e-Ink doesn't refresh instantly like LCD; use partial refreshes for better responsiveness.