Skip to main content

Introduction

Documentation Status Discord Build Status Code Style: Ruff

CircuitPython helper for Adafruit MatrixPortal M4, Adafruit RGB Matrix Shield + Metro M4 Airlift Lite, and Adafruit RGB Matrix FeatherWings.

This library extends the CircuitPython PortalBase library - see library for additional information.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Usage Example

import time
import board
import terminalio
from adafruit_matrixportal.matrixportal import MatrixPortal

# --- Display setup ---
matrixportal = MatrixPortal(status_neopixel=board.NEOPIXEL, debug=True)

# Create a new label with the color and text selected
matrixportal.add_text(
    text_font=terminalio.FONT,
    text_position=(0, (matrixportal.graphics.display.height // 2) - 1),
    scrolling=True,
)

SCROLL_DELAY = 0.03

contents = [
    { 'text': 'THIS IS RED',  'color': '#cf2727'},
    { 'text': 'THIS IS BLUE', 'color': '#0846e4'},
]

while True:
    for content in contents:
        matrixportal.set_text(content['text'])

        # Set the text color
        matrixportal.set_text_color(content['color'])

        # Scroll it
        matrixportal.scroll_text(SCROLL_DELAY)

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Metadata

Release files for adafruit-circuitpython-matrixportal 3.2.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adafruit-circuitpython-matrixportal 3.2.13
File Size Uploaded Provenance Actions
adafruit_circuitpython_matrixportal-3.2.13.tar.gz 27.5 kB Without provenance Details for adafruit_circuitpython_matrixportal-3.2.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for adafruit-circuitpython-matrixportal 3.2.13
File Interpreter ABI Platform Actions
adafruit_circuitpython_matrixportal-3.2.13-py3-none-any.whl Python 3 none any Details for adafruit_circuitpython_matrixportal-3.2.13-py3-none-any.whl

Total release size: 39.4 kB

Release files / adafruit_circuitpython_matrixportal-3.2.13.tar.gz

Download URL adafruit_circuitpython_matrixportal-3.2.13.tar.gz
Size 27.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dce28db52f230d6417f7887227bcef6603940d9e7d8437b8747cf96da0b7ae85
BLAKE2b-256 checksum
How to use checksums
f6712cb7c39f799f7e2f2a40276b938a7986546fa4837214724861a936a283b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / adafruit_circuitpython_matrixportal-3.2.13-py3-none-any.whl

Download URL adafruit_circuitpython_matrixportal-3.2.13-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f26cdaa308b7df25019330f47b53e7e43b93b34b5d5652dd44b488d0320f20a7
BLAKE2b-256 checksum
How to use checksums
b62302179496c2fdbaf74474769b496a7132f60f5c722e221abcba8ac869ab35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for adafruit-circuitpython-matrixportal 3.2.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page