| 26 | |
| 27 | protected: |
| 28 | virtual void showPixels(PixelController<RGB_ORDER> & pixels) FL_NOEXCEPT { |
| 29 | // Capture LED data for simulation/testing |
| 30 | mRgb.clear(); |
| 31 | PixelController<RGB> pixels_rgb = pixels; // Converts to RGB pixels |
| 32 | pixels_rgb.disableColorAdjustment(); |
| 33 | auto iterator = pixels_rgb.as_iterator(RgbwInvalid()); |
| 34 | iterator.writeWS2812(&mRgb); |
| 35 | mTracker.update(mRgb); |
| 36 | } |
| 37 | |
| 38 | private: |
| 39 | ActiveStripTracker mTracker; |
nothing calls this directly
no test coverage detected