API change alert ColorFromPalette BLEND -> LINEARBLEND Just a heads-up:

API change alert ColorFromPalette BLEND → LINEARBLEND

Just a heads-up: If you’re using the BLEND / NOBLEND parameter to the “ColorFromPalette” function, we’ve just changed the name “BLEND” to now be “LINEARBLEND”. We did this for two reasons: first, to correct a conflict we had with the RedBear “BLEND” microcontroller board and their board definitions in the Arduino IDE. And second, we changed BLEND to the more specific LINEARBLEND, because there may be a other blend types coming in the future (e.g., quadratic, see “Computer color is broken” etc.)

SO this means that once you update to a new version of the library, you’ll have to change the argument you pass to your calls to ColorFromPalette from BLEND to LINEARBLEND. (If you prefer, you may add #define BLEND LINEARBLEND to your sketch.)

If you have no idea what I’m talking about, this doesn’t apply to you and you don’t have to do anything.

This does NOT affect the functions called ‘blend(…)’, or ‘nblend(…)’ at all.

Generally, we hate changing APIs, names, and arguments, but in this case it seemed both like a small change and worth doing for our collective future sanity, or what will be left of it.

Thanks for the warning!

No problem. Sorry to have to make the change, but there it is.