-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build #1
Comments
Yes, the directions to build this are not clear. Yes, this is for a raspberry pi. However, please look at the larger project https://github.com/Romonaga/rpiLightSystem you will find instructions for the larger project. I copied the section that should be most important to you. Or you can follow the below steps that achive the same thing.
|
Thank you very much. |
This wrapper was built to support this project https://github.com/Romonaga/rpiLightSystem As to how to use this wrapper, there are many built in cpp classes to the rpiLightSystem. I suggest you examine the following for ideas as well as examples to use the API. There are examples of using LED Strips as well as matrix. All of the code that manipulates LEDS or Matrix's are based on this Interface https://github.com/Romonaga/rpiLightSystem/blob/master/src/ilightshow.cpp As you can see I have many helper functions in this class that you might be interested in. For Matrix Check out I guess the question that I would have is what are you trying to build. Based on your GIT it appears that you have some python code that will drive them, but refresh is to slow. https://github.com/atsu7/neopixel_movieplayer_python If your intent is to improve upon that, then I am not sure that my wrapper is what you need, as at this point I have not added the support for video (I am working on it."). The https://github.com/hzeller/rpi-rgb-led-matrix project is far more powerful then the fraction of it I exposed in my wrapper, and if I am guessing correctly, my wrapper might not expose all the functionality you need to stream video at this time. However, if you look at the examples, if I am not mistaken, it shows how the lib can be used to display video. What I can say, while I have had good luck with animated gif's I am interested to see if video playback frustrates would be to slow. |
Thank you for your response. |
Sorry, have been busy. But, assuming you are using this lib and using a matrix, you would need to use void Ws2811Wrapper::setPixelColor(u_int32_t row, u_int32_t pixel, ws2811_led_t value) row, col, color. |
I'm sorry for posting a basic question.
I would love to use this wrapper, but I don't have idea how to use this.
I put these files in the directory rpi_ws281x, and added files in rpi-rgb-led-matrix/lib (Are they needed?).
I tried
g++ ws2811wrapper.cpp
but errors happened.How can I build them? Do I need qt and qmake on raspberrypi?
The text was updated successfully, but these errors were encountered: