PixelMaestro icon indicating copy to clipboard operation
PixelMaestro copied to clipboard

Build PixelMaestro

Open MINDoSOFT opened this issue 4 years ago • 1 comments

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 !!!

MINDoSOFT avatar Dec 12 '20 13:12 MINDoSOFT

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!

8bitbuddhist avatar May 26 '21 00:05 8bitbuddhist