Closed topshed closed 8 years ago
This was actually a mistake on my part. I had added getPixelColorRGB in https://github.com/pimoroni/unicorn-hat/commit/3f9a39a3ff4e2ed7c8ee990a03cd1cff941c6a45 since it's more useful for end-users than getting back a 24bit colour value and having to shift out the component colours manually. I've applied a fix in https://github.com/pimoroni/unicorn-hat/commit/38bc7716c052a98bfadf83bf3dcf9199b04e5a4e
The get_pixels method was retuning a exception - I think the Adafruit neopixel library it calls had changed. ws2812.getPixelColorRGB() is now just ws2812.getPixelColor()