Closed kartilana closed 6 years ago
Hi, thanks for your interest in the library! Since #3 I have changed the library to also support software SPI, so this is no longer an issue.
If you only have one single LED, then I suggest you start with sample.py. All you have to do is use the correct pins for MOSI and SCLK. If the colors are wrong, then you might also have to change the color ordering from 'rbg' to (often) 'rgb'.
The values in the driver are merely the default values in case nothing is passed when initializing the driver. There is a hardcoded assumption in the driver though: 10/11 is hardware SPI, anything else is software SPI. This is why the driver officially only supports the Raspberry Pi: The assumption is correct on this device.
Thanks a lot for such a quick reply! I'll try to follow your advice with sample.py. By the way, i forgot to mention that i try to make it work with a NanoPi NEO. So let's hope that will make it...
Hi, Can you please provide more informations in your setup section about how to activate Software SPI mode? I've also seen in the driver module that mosi and sclk are hard codded. Can you explain how to change it in order to use the Software SPI instead of the Hardware SPI? Thanks a lot for the job you've made, and thank you for your reply. Regards. Edit : I've seen in #3 that you had issues with Software SPI. In my project, there is only one LED to manage. Can you think that there will be disturbances?