# m5stack/M5Stack

M5Stack Arduino Library

Repository: https://github.com/m5stack/M5Stack
Canonical: https://ross.abutalabs.com/products/m5stack
Language: C
License: MIT
License Family: permissive
Topics: arduino-esp32, m5stack, m5stick
Last push: 2025-12-22T07:28:13+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 58, release rhythm 8, longevity 100
- inputs: {"age_days": 3414, "days_push": 254, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1402, forks 456 (observed 2026-08-28T04:04:37.367191+00:00)

## What it is
The official Arduino library for M5Stack Core (Basic/Gray) ESP32 development kits, providing access to the LCD, buttons, speaker, power management, and IMU via a unified M5 class. It is now deprecated in favor of the M5GFX and M5Unified libraries.

## Use cases
- draw graphics and render images on an M5Stack LCD from Arduino
- read button presses on an M5Stack Core device
- play tones through the M5Stack speaker
- read battery level and control power on M5Stack
- read accelerometer data from M5Stack Basic or Gray
- program ESP32-based M5Stack hardware with Arduino

## When to choose
- maintaining legacy Arduino sketches written for the original M5Stack library
- targeting older M5Stack Basic or Gray hardware with existing example code

## When to avoid
- starting a new M5Stack project - use M5Unified and M5GFX instead
- working with newer M5Stack devices like M5Stick or Core2
- needing ongoing support or new features

## Facets
- artifact type: library
- maturity: maintenance
- function: graphics, audio-processing, sdk
- domain: embedded-systems, iot, hardware, developer-tools
- platform: embedded, cpp, c
- tags: arduino, esp32, m5stack, deprecated, display-driver, hardware-library

## Member repositories
- m5stack/M5Stack (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:37.367191+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:38:59.245234+00:00, confidence not recorded.
  - readme: https://github.com/m5stack/M5Stack (fetched 2026-08-28T04:04:37.367191+00:00, sha 4d266f0c52f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
