hzeller / rpi-rgb-led-matrix

Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
GNU General Public License v2.0
3.61k stars 1.15k forks source link

Not an issue but a Doubt #886

Open vaseeece opened 4 years ago

vaseeece commented 4 years ago

I'm using only one panel of 64x32 of pitch 4 mm and I want to connect a GSM module(sim800) with raspberry pi, unfortunately, the GSM hast o be connected with pins 8 and 10 on raspberry pi, Now this library is using the pin 8 for (R1) connection of panel 3. If I connect the GSM module there at pin8 in raspberry pi would it cause any error to hardware or library installed???
If so, is there any other way that I could connect the GSM module and panel to the raspberry pi at the same time??

vaseeece commented 4 years ago

@hzeller can you please help me with this and give me a solution for this, please........

hzeller commented 4 years ago

If you only use one panel, you use --parallel=1, so the pins are free.

Pin8 (GPIO14) is only used by --parallel=3, so is not a problem here.

Pin 10 (GPIO15) is only used with a 64 pixel high panel with ABCDE address lines; you only have 32, so that is fine.

So you will not have problems with that, and the serial interface should still be free for your GSM module to use.

(You also can re-map GPIO pins used in the hardware-mapping.c file, but given that you only use one panel, this is not needed).