Made public for testing with UCS7604Controller which uses composition
| 152 | |
| 153 | // Made public for testing with UCS7604Controller which uses composition |
| 154 | virtual void showPixels(PixelController<RGB_ORDER>& pixels) override { |
| 155 | // Capture raw RGB bytes without any RGBW processing |
| 156 | // UCS7604Controller already handles RGBW conversion internally |
| 157 | capturedBytes.clear(); |
| 158 | PixelController<RGB> pixels_rgb = pixels; |
| 159 | pixels_rgb.disableColorAdjustment(); |
| 160 | auto iterator = pixels_rgb.as_iterator(RgbwInvalid()); |
| 161 | iterator.writeWS2812(&capturedBytes); |
| 162 | } |
| 163 | }; |
| 164 | |
| 165 | /// Test wrapper that exposes protected showPixels method and provides access to captured bytes |
no test coverage detected