rm-hull/luma.led_matrix

Neopixel PWM pin change

Opened this issue · 5 comments

Hi,

The PWM pin is hard coded to 18 in the library and it is already covered by an old Displayotron 3000 on my raspberry pi.

Would it be possible to make this pin user selectable (12 in my case) as it's the only hardware PWM pin that is not covered.

Thank you

I think it can only be connected to certain pins.

In any regard, I'll have a look at making this configurable when I get back off holiday in a few weeks, unless any one else fancies submitting a PR in the meantime

Agreed. From what I have found is there are only 4 pins thar can be used but saw conflicting information about pin selection.

All I can tell for now is that 18 (hard coded) and 12 (tested by myself by modifying your code) work. They were both in the lists I found and there should be 4 usable pins (Adafruit also lists 10 and 21).

I will have some time later this week to test it out.

I was able to control the lights with pins 12, 18 and 21. I was able to start the code with pin 10 also but I only got all white out of it.

That pins are individualy usable? Can use it for 2 x 1024 LED?