For more information, see the [GitHub Repository](https://github.com/Mohammedvaraliya/MAX7219-8x8-Driver).
# 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
Raw data
{
"_id": null,
"home_page": "",
"name": "max7219LEDMATRIX",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Max7219,Led Matrix,Raspberry Pi,8x8 Matrix",
"author": "Mohammed Varaliya",
"author_email": "<mohammedvaraliya2661392@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/c1/e5/3be3cc5d2d0f3f3af403ca54fc742285b7c301ec24e1d4014912d8aac5b8/max7219LEDMATRIX-0.0.2.tar.gz",
"platform": null,
"description": "For more information, see the [GitHub Repository](https://github.com/Mohammedvaraliya/MAX7219-8x8-Driver).\r\n# MAX7219 Sample Drive\r\n\r\nThis 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**.\r\n\r\n## Connections\r\n\r\nThe following are the table lists the connetion\r\n\r\n| LED | Physical Pin (Raspberry Pi) |\r\n|-----|------------------------------|\r\n| DIN| 19|\r\n| CLK| 23|\r\n| CS | 24|\r\n\r\n\r\n## Driving the led matrix\r\n\r\nYou can either modiy the `test.py` file, or paste the `max7219` folder into your project directory. \r\n\r\nThe following are the methods available.\r\n\r\n1. `bootstrap()` - Initialize the matrix to display fonts.\r\n2. `CLEAR_DISPLAY()` - Clears the entire display.\r\n3. `setBitmap(bitMap)` - Display the provided `bitMap`. (Can be used to display special characters or symbols)\r\n4. `show(string, delay = 0)` - Display the given string with a word delay of the `delay`.\r\n5. `close()` - Closes the `spi` connection\r\n",
"bugtrack_url": null,
"license": "",
"summary": "This Package contains the code required to drive a max7219 8x8 LED matrix using a Raspberry Pi (with spidev).",
"version": "0.0.2",
"split_keywords": [
"max7219",
"led matrix",
"raspberry pi",
"8x8 matrix"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fc4752e76402108d147883a7e25c2f6f3c0e3a5e75d1c9b812f3504d3700cac5",
"md5": "698b9987d6df1c2a9bb5ce1af7f4f134",
"sha256": "5a3aad2b179a9a16dee91c11c5e48f66f067f6528cf1ceb4ebbecfde971197ea"
},
"downloads": -1,
"filename": "max7219LEDMATRIX-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "698b9987d6df1c2a9bb5ce1af7f4f134",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3943,
"upload_time": "2023-03-13T09:25:21",
"upload_time_iso_8601": "2023-03-13T09:25:21.964263Z",
"url": "https://files.pythonhosted.org/packages/fc/47/52e76402108d147883a7e25c2f6f3c0e3a5e75d1c9b812f3504d3700cac5/max7219LEDMATRIX-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c1e53be3cc5d2d0f3f3af403ca54fc742285b7c301ec24e1d4014912d8aac5b8",
"md5": "af428a1b644ca16381df0f29527bc223",
"sha256": "5d6bee582ebf5f4e0c67e0a728bfd6aaf97a4361e03020ef5fa377246b688455"
},
"downloads": -1,
"filename": "max7219LEDMATRIX-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "af428a1b644ca16381df0f29527bc223",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3695,
"upload_time": "2023-03-13T09:25:23",
"upload_time_iso_8601": "2023-03-13T09:25:23.924184Z",
"url": "https://files.pythonhosted.org/packages/c1/e5/3be3cc5d2d0f3f3af403ca54fc742285b7c301ec24e1d4014912d8aac5b8/max7219LEDMATRIX-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-13 09:25:23",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "max7219ledmatrix"
}