From b80a3e15755de2bd386465d1b145d71ac61f46e1 Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Mon, 6 May 2024 17:55:32 -0400 Subject: [PATCH] add pinout documentation --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 33eaf98..f1638cc 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,18 @@ A VIAM module to support led matrices with a max7219 chip. The module is a wrapp The module was tested with a 3 pack of [EC Buying MAX7219 Dot Matrix Modules](https://www.amazon.com/dp/B0BXDKHZL6) +The first module should be wired to a raspberry pi in the following way: + +| Max Pin | RPI Pin | +| -------- | ------- | +| VCC | Any 5v Pin | +| GND | Any Ground Pin | +| DIN | MOSI Pin 19 / GPIO 10 | +| CS | CE0 Pin 24 / GPIO 8 | +| CLK | SCLK Pin 23 / GPIO 11 | + +Based on the [official pinout diagram](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html) provided by Raspberry Pi + ## Attribute Examples The following config is used to control a single [HiLetgo MAX7219 Dot Matrix Module](https://www.amazon.com/dp/B07FFV537V). ```