Skip to content

0.2.19#283

Merged
lovyan03 merged 23 commits into
masterfrom
develop
Jul 22, 2026
Merged

0.2.19#283
lovyan03 merged 23 commits into
masterfrom
develop

Conversation

@lovyan03

Copy link
Copy Markdown
Collaborator

This pull request adds support for several new M5Stack boards and improves hardware abstraction, especially for audio and IO expander handling. It also updates dependencies and refactors the code to use the new M5IOE1_Class for IO expander operations, providing more robust and maintainable hardware control.

New Board Support:

  • Added support for the following boards: M5STAMPS3S3Bat, M5STAMPS3Mini, M5STAMPPLC, M5PaperDIY, M5AirQ, M5StackChan, M5ChainCaptain, M5DualKey, M5STAMPC5, M5ToughC5, M5STAMPC6, M5STAMPP4, M5UnitPoEP4 in both documentation and code, including board detection and initialization logic. [1] [2] [3] [4] [5]

Audio and Microphone Handling Improvements:

  • Added new callback implementations for enabling/disabling speakers and microphones on M5ChainCaptain and M5PaperMono, with correct power sequencing and IO expander usage. [1] [2] [3] [4] [5]

IO Expander Refactor:

  • Refactored code to use the new M5IOE1_Class for all IO expander operations instead of direct I2C register manipulation, improving maintainability and abstraction. [1] [2] [3] [4]

Dependency Updates:

  • Updated M5GFX dependency to version >=0.2.26 and bumped the library version to 0.2.19 in all relevant files. [1] [2] [3]

Documentation:

  • Updated README.md to reflect all newly supported boards and features.

These changes expand board compatibility, improve hardware abstraction, and ensure the library is up to date with its dependencies.

luoweiyuan and others added 23 commits July 14, 2026 18:23
readRegister8() returns 0 when the I2C transaction fails, and the
active-low decoding misinterprets it as all buttons pressed.
Check the result of readRegister() instead and leave the buttons
released when the read fails. (StampPLC, UnitC6L, Nesso N1)

Fixes #262
Add M5IOE1 GPIO and PWM APIs.
Add Paper Mono microphone power support
- HowToUse: PaperDIY, StampS3Bat / StampS3Mini / StampPLC / AirQ /
  StackChan / ChainCaptain / DualKey (S3), new C5 section
  (StampC5 / ToughC5), StampC6 (C6), StampP4 (P4)
- Fix nonexistent enum name board_NanoH2 -> board_M5NanoH2 in ESP32H2 section
- README: sync supported device lists, add ESP32-C5 section
Update supported board information and require M5GFX >=0.2.26
@lovyan03
lovyan03 merged commit 4fb4447 into master Jul 22, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants