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

Function blink42OD

examples/Scheduler_example27_PlatformIO/src/main.cpp:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190
191void blink42OD() {
192 if ( counter >= DURATION / PERIOD4 ) {
193 tBlink4On.disable();
194 tBlink4Off.disable();
195
196 tBlink5On.setOnEnable( &blink51OE );
197 tBlink5On.restartDelayed( 2 * TASK_SECOND );
198 tBlink5Off.restartDelayed( 2 * TASK_SECOND + PERIOD5 / 2 );
199 LEDOff();
200 }
201}
202
203
204// === 5 ==========================================

Callers

nothing calls this directly

Calls 4

disableMethod · 0.80
setOnEnableMethod · 0.80
restartDelayedMethod · 0.80
LEDOffFunction · 0.70

Tested by

no test coverage detected