MIT License

项目介绍

m5stack/M5Stack 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 MIT License 许可证,目前获得 1.4k 个 Star、455 次 Fork。

仓库全名
m5stack/M5Stack
开源许可证
MIT License
Star 数
1.4k
Fork 数
455
未关闭 Issue
34

README 摘要

🚫 Deprecated — Use M5GFX & M5Unified M5GFX High-performance, lightweight graphics and display driver library for M5 devices. M5Unified Unified base library for M5 devices (IO/peripherals, power management, audio, etc.). M5Stack Library English | 中文 | 日本語 The M5Stack library provides access to the built-in hardware of the M5Stack Core (including Basic and Gray) controllers. Usage This library's functionality is…

完整内容见 GitHub 原始 README 或本页 。

常见问题

M5Stack 用什么语言开发?

主要使用 C 编写,采用 MIT License 许可证,目前有 1.4k 个 Star。

M5Stack 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 M5Stack 的源码?

可以直接克隆仓库:git clone https://github.com/m5stack/M5Stack.git;安装与运行步骤见仓库 README。

M5Stack 最近还在维护吗?

仓库最近一次更新为 2025年12月22日,当前有 34 个未关闭 Issue;Star 数为 1.4k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

M5Stack Arduino Library

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
3694
价值分
1109
活跃状态
活跃

语言占比

C
C++
CMake
Makefile
Python

Release

README

🚫 Deprecated — Use M5GFX & M5Unified

M5Stack Library

Arduino Lint Clang Format

English | 中文 | 日本語

The M5Stack library provides access to the built-in hardware of the M5Stack Core (including Basic and Gray) controllers.

Usage

This library’s functionality is available through the M5Stack class, referenced as M5, including:

  • LCD display via M5.Lcd, a customized version of the TFT_eSPI LCD library, adapted for Basic and Gray. The display resolution is 320x240 supporting 262K colors. Several fonts, graphics primitives, QR code rendering, and PNG/BMP/JPEG support are included.
  • Power control, including device shutoff and battery level detection via M5.Power and the IP5306 power management chip
  • Hardware buttons via M5.BtnA, M5.BtnB, M5.BtnC
  • Speaker, via M5.Speaker, supporting tones, volume control, and basic wave audio playback using ESP32’s DAC function
  • Accelerometer, via M5.Imu, M5.Mpu6886, or M5.Sh200Q (accelerometer type depends on version of Basic/Gray)

To use the M5Stack library, #include "M5Stack.h" must appear at the top of your sketch.

The most productive way to become acquainted with the class is through the numerous included examples. Additional documentation within this library:

Additional optional include files:

  • M5Faces.h for access to M5Stack Faces accessories (EOL)
  • LoRaWan.h

basicgray

Comparison of M5Stack controllers

M-BUS

More Information

UIFlow Quick Start: Click Here

MicroPython API: Click Here

Arduino IDE Development: Click Here

Gray PinMap: Click Here

Basic PinMap: v1.0 (EOL) v2.6 (EOL) v2.7**

USER CASES

评论

暂无评论