adammhaile / RPi-LPD8806

DEPRECATED!!! Checkout the new library, BiblioPixel - Follow the linked website.
https://github.com/ManiacalLabs/BiblioPixel
69 stars 28 forks source link

Using LPD8806 on BeagleBone Black #14

Closed ansrivas closed 10 years ago

ansrivas commented 10 years ago

Firstly thanks a lot for your awesome library.

I worked with raspberry pi and it worked like charm. But now I am trying to move to Beaglebone black.

As you mentioned, in the links, I compiled and enabled the device tree also. Now the issue is with the SPI interface.

After compilation of the overlay and exporting it, I get "/dev/spidev1.0" activated while the LPD8806 uses "/dev/spidev0.0" . So, I tried to change this in the LPD8806 library , recompiled , but unfortunately it doesn't work.

It will be very helpful if you can share some views over this.

Thanks Ankur

adammhaile commented 10 years ago

Unfortunately, the beagle bone black support was confirmed by someone else as I haven't had one until this week. But I have not had a chance to try it yet. Try installing py-spidev and set use_py_spi = True in the LEDStrip() constructor. It should work on any SPI device... have you read through the tutorials listed on the README?

adammhaile commented 10 years ago

Also, check the notes in this issue from the guy that got it to work: https://github.com/adammhaile/RPi-LPD8806/issues/9

ansrivas commented 10 years ago

Thanks for your reply, but even I got it up and working very nicely with your library. I have shared a detailed process here on their forums.

http://forums.adafruit.com/viewtopic.php?f=49&t=53861

adammhaile commented 10 years ago

Awesome, thanks! I'll be sure to add all that setup info in the README soon :)