rpi-rgb-led-matrix icon indicating copy to clipboard operation
rpi-rgb-led-matrix copied to clipboard

Can't use other devices in parallel

Open SThiviyan opened this issue 1 year ago • 1 comments

Hey there,

I want to build an alarm clock with the matrix display, but want it to be controlled by a rotary encoder. I programmed a library that would be able to receive inputs from that rotary encoder. But when I use that library in tandem with the rpi-rgb-led-matrix library, the rotary encode doesn't work anymore because the gpio pins (26, 21, 20), don't return any values.

I'm using a waveshare 64x32 panel with the standard pin configuration. Not using any hats or anything.

SThiviyan avatar Dec 10 '23 14:12 SThiviyan

The RPI led matrix takes over control over the GPIO, but it provides a way for you to read inputs; check out the example at

https://github.com/hzeller/rpi-rgb-led-matrix/blob/master/examples-api-use/input-example.cc

hzeller avatar Dec 11 '23 13:12 hzeller