Skip to main content

For more information, see the GitHub Repository.

MAX7219 Sample Drive

This repository contains the code required to drive a max7219 8x8 LED matrix using a Raspberry Pi (with spidev). The code written is extremely rigid and should not be used in any form of production applications.

Connections

The following are the table lists the connetion

LED Physical Pin (Raspberry Pi)
DIN 19
CLK 23
CS 24

Driving the led matrix

You can either modiy the test.py file, or paste the max7219 folder into your project directory.

The following are the methods available.

  1. bootstrap() - Initialize the matrix to display fonts.
  2. CLEAR_DISPLAY() - Clears the entire display.
  3. setBitmap(bitMap) - Display the provided bitMap. (Can be used to display special characters or symbols)
  4. show(string, delay = 0) - Display the given string with a word delay of the delay.
  5. close() - Closes the spi connection

Metadata

Release files for max7219LEDMATRIX 0.0.2

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

Source distribution (sdist)

Source distribution for max7219LEDMATRIX 0.0.2
File Size Uploaded
max7219LEDMATRIX-0.0.2.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for max7219LEDMATRIX 0.0.2
File Interpreter ABI Platform
max7219LEDMATRIX-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / max7219LEDMATRIX-0.0.2.tar.gz

Download URL max7219LEDMATRIX-0.0.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5d6bee582ebf5f4e0c67e0a728bfd6aaf97a4361e03020ef5fa377246b688455
BLAKE2b-256 checksum
How to use checksums
c1e53be3cc5d2d0f3f3af403ca54fc742285b7c301ec24e1d4014912d8aac5b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / max7219LEDMATRIX-0.0.2-py3-none-any.whl

Download URL max7219LEDMATRIX-0.0.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a3aad2b179a9a16dee91c11c5e48f66f067f6528cf1ceb4ebbecfde971197ea
BLAKE2b-256 checksum
How to use checksums
fc4752e76402108d147883a7e25c2f6f3c0e3a5e75d1c9b812f3504d3700cac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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