MCPcopy Create free account
hub / github.com/FastLED/FastLED / testnscale8x3

Function testnscale8x3

src/lib8tion.cpp.hpp:238–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238void testnscale8x3()
239{
240 delay(5000);
241 byte r, g, b, sc;
242 for( byte z = 0; z < 10; ++z) {
243 r = random8(); g = random8(); b = random8(); sc = random8();
244
245 Serial.print("nscale8x3_video( ");
246 Serial.print(r); Serial.print(", ");
247 Serial.print(g); Serial.print(", ");
248 Serial.print(b); Serial.print(", ");
249 Serial.print(sc); Serial.print(") = [ ");
250
251 nscale8x3_video( r, g, b, sc);
252
253 Serial.print(r); Serial.print(", ");
254 Serial.print(g); Serial.print(", ");
255 Serial.print(b); Serial.print("]");
256
257 Serial.println(' ');
258 }
259 Serial.println("done.");
260 for(;;){};
261}
262
263#endif

Callers

nothing calls this directly

Calls 3

delayFunction · 0.70
printMethod · 0.45
printlnMethod · 0.45

Tested by

no test coverage detected