🛠 First text display on M5Paper

M5Paper IoT Development Kit with 4.7-inch Touchscreen e-Ink Display · debutant · Afficher du texte statique sur l'écran e-Ink pour vérifier le fonctionnement de base.

  1. Hardware: An M5Paper board and a USB-C cable.
  2. Software: Install Arduino IDE and add the M5Stack board manager URL (https://raw.githubusercontent.com/m5stack/M5Stack/master/package_m5stack_index.json).
  3. Setup: Select 'M5Paper' in Tools > Board and choose the correct COM port.
  4. Code: Include <M5EPD.h>. In setup(), call M5.begin() and M5.EPD.WriteFullFrame(). In loop(), use M5.EPD.DrawCenterString("Hello M5Paper", 480, 270).
  5. Upload: Click Upload and wait for compilation to finish.
  6. Verify: The screen should flash black then display dark gray text. Note the slow refresh rate.
  7. Next Step: Try changing fonts or coordinates to understand the 960x540 coordinate system.

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials