You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have modified the ALA library to 1) add the ability to drive the APA102 ledstrip using the APA102 library 2) include a modified FastGPIO to drive mega2560 digital pins 3) ability use different animation sequences on different sections of the same strip. The latter is useful if you have a long strip (memory permitting, hence the 2560) and want different animations on different sections.
I've also included a Colours.h file to define a shed load of standard colour names. Changed files are AlaLedRgb - now called ExtAlaLedRgb - lives in the sketch folder since I'm using it instead of the standard AlaLedRgb. And ExtFastGPIO - which now has pin definitions for the mega2560 . Read the header regarding which pins because some don't work with fastGPIO.
I am only able to test with WS2812B and APA102 - so am unable to test that my changes work with the other supported LEDs. Feedback would be helpful.
There may be some Serial.print's in ExtAlaLedRgb.cpp left over from debugging so it isn't really suitable for general use, just yet.
Note that this sketch requires the memory capacity of a mega2560 - the 2K devices just aren't big enough to drive my 144 led APA102 strip although the code compiles to under the 32K Flash size. I'm not sure how I can optimise the memory usage. (Any advice gratefully accepted)
You can view my video of two animations running on my APA102 led strip on YouTube here:-
I have modified the ALA library to 1) add the ability to drive the APA102 ledstrip using the APA102 library 2) include a modified FastGPIO to drive mega2560 digital pins 3) ability use different animation sequences on different sections of the same strip. The latter is useful if you have a long strip (memory permitting, hence the 2560) and want different animations on different sections.
I've also included a Colours.h file to define a shed load of standard colour names. Changed files are AlaLedRgb - now called ExtAlaLedRgb - lives in the sketch folder since I'm using it instead of the standard AlaLedRgb. And ExtFastGPIO - which now has pin definitions for the mega2560 . Read the header regarding which pins because some don't work with fastGPIO.
I am only able to test with WS2812B and APA102 - so am unable to test that my changes work with the other supported LEDs. Feedback would be helpful.
This is a zip of my sketch folder:-
ALA_DEV_1.6.zip
There may be some Serial.print's in ExtAlaLedRgb.cpp left over from debugging so it isn't really suitable for general use, just yet.
Note that this sketch requires the memory capacity of a mega2560 - the 2K devices just aren't big enough to drive my 144 led APA102 strip although the code compiles to under the 32K Flash size. I'm not sure how I can optimise the memory usage. (Any advice gratefully accepted)
You can view my video of two animations running on my APA102 led strip on YouTube here:-
https://youtu.be/hsvYEGXiAFw
Hope you like it.
The text was updated successfully, but these errors were encountered: