After a long while, this one has a significant change that might be useful to developers: Custom face value types.
In the official Blinklib and my custom one (until now), face values were always represented by a byte (a.k.a uint8_t) which gives you 6 bits of information to play with in the official Blinklib and 8 in the custom one.
With this release, one can use arbitrary types as long as they support assignment (copy). The common use case will be to use uint16_t (16 bits) or uint32_t (32 bits) instead of byte, but creative minds can use any custom types that satisfies the requirement above.
Here is how to use it:
1 - Follow the instructions to install the Custom Blinklib and select it for your project.
2 - In the same directory that you have your sketch, add a config sub-directory.
3 - Inside this config sub-directory, create a file called blinklib_config.h
4 - Inside this file, add something like this:
#define BGA_CUSTOM_BLINKLIB_FACE_VALUE_TYPE uint16_t
And that is it. After doing the above, something like this will work as expected:
setValueSentOnAllFaces(65535);
Hope this helps.
New In This Release
- Add support for custom face value types via the BGA_CUSTOM_BLINKLIB_FACE_VALUE_TYPE define. Default is byte.
- Reduce storage a bit more.