• Philip Gladstone's avatar
    Add support to mix ws2812.buffer objects. (#1575) · 77b2e85d
    Philip Gladstone authored
    * Add load/dump/mix/power operations on the buffer object
    * Calculate the pixel value in mix and then clip to the range.
    * Fixed the two wrong userdata types
    * Added a couple more useful methods
    * Add support for shifting a piece of the buffer.
    * Fix a minor bug with offset shifts
    77b2e85d
ws2812.c 18.2 KB