MCPcopy Create free account
hub / github.com/arkhipenko/TaskScheduler / blink6OE

Function blink6OE

examples/Scheduler_example27_PlatformIO/src/main.cpp:229–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227// === 6 ============================================
228long interval6 = 0;
229bool blink6OE() {
230 _PP(millis());
231 _PP(": Blink6 - RunCounter + Random ON interval = ");
232 interval6 = random( 100, 901 );
233 tBlink6.setInterval( interval6 );
234 _PL( interval6 );
235 tBlink6.delay( 2 * TASK_SECOND );
236
237 return true;
238}
239
240void blink6CB() {
241 if ( tBlink6.getRunCounter() & 1 ) {

Callers

nothing calls this directly

Calls 3

millisFunction · 0.85
setIntervalMethod · 0.80
delayMethod · 0.80

Tested by

no test coverage detected