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

Function testscale8

src/lib8tion.cpp.hpp:186–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184
185
186void testscale8()
187{
188 delay(5000);
189 byte r, c;
190
191 Serial.println("scale8:");
192 for( r = 0; r <= 240; r += 10) {
193 Serial.print(r); Serial.print(" : ");
194 for( c = 0; c <= 240; c += 10) {
195 byte t;
196 t = fl::scale8( r, c);
197 Serial.print(t); Serial.print(' ');
198 }
199 Serial.println(' ');
200 }
201
202 Serial.println(' ');
203 Serial.println("scale8_video:");
204
205 for( r = 0; r <= 100; r += 4) {
206 Serial.print(r); Serial.print(" : ");
207 for( c = 0; c <= 100; c += 4) {
208 byte t;
209 t = fl::scale8_video( r, c);
210 Serial.print(t); Serial.print(' ');
211 }
212 Serial.println(' ');
213 }
214
215 Serial.println("done.");
216 for(;;){};
217}
218
219
220

Callers

nothing calls this directly

Calls 5

delayFunction · 0.70
scale8Function · 0.50
scale8_videoFunction · 0.50
printlnMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected