MajicDesigns / MD_Parola

Library for modular scrolling LED matrix text displays
GNU Lesser General Public License v2.1
438 stars 135 forks source link

Allow predefining MD_Parola macros when invoking C++ compiler #49

Closed thloe1 closed 5 years ago

thloe1 commented 5 years ago

I have surrounded the #defines that enable or disable the animations in #ifndef/#endif directives.

That allows predefining these macros in a Makefile or the file platformio.ini (the PlatformIO project configuration file), for example:

-D ENA_MISC=0