Skip to content
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

Build PixelMaestro #11

Open
MINDoSOFT opened this issue Dec 12, 2020 · 1 comment
Open

Build PixelMaestro #11

MINDoSOFT opened this issue Dec 12, 2020 · 1 comment

Comments

@MINDoSOFT
Copy link

Hello there !

I am trying to build PixelMaestro and use it in a C++ project. Is this possible ?

More specifically I want to use https://github.com/shaduzlabs/cabl in combination with PixelMaestro to control the LEDs on a MaschineJAM.

Thank you for this awesome library !!!

@8bitbuddhist
Copy link
Owner

Hi @MINDoSOFT, yes! You should be able to just download the source and #include it in your project. There are some examples in the Arduino folder that might help you get started. At a minimum, you'll need to #include "src/core/maestro.h" to get the main file.

That sounds awesome! I don't know how cabl works, but you can take the color value directly from each pixel and pass it to cabl to send to the controller. You'd need to create a loop to loop over each pixel in the section, but it should work ok. Let me know how it goes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants