@copydoc CPixelLEDController::showPixels()
| 127 | |
| 128 | /// @copydoc CPixelLEDController::showPixels() |
| 129 | virtual void showPixels(PixelController<RGB_ORDER> & pixels) { |
| 130 | mWait.wait(); |
| 131 | while(pixels.has(1)) { |
| 132 | fl::u8 r = pixels.loadAndScale0(); |
| 133 | Serial.write(r); |
| 134 | fl::u8 g = pixels.loadAndScale1(); |
| 135 | Serial.write(g); |
| 136 | fl::u8 b = pixels.loadAndScale2(); |
| 137 | Serial.write(b); |
| 138 | pixels.advanceData(); |
| 139 | pixels.stepDithering(); |
| 140 | } |
| 141 | mWait.mark(); |
| 142 | } |
| 143 | |
| 144 | }; |
| 145 |
nothing calls this directly
no test coverage detected