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

Function blink6CB

examples/Scheduler_example27_PlatformIO/src/main.cpp:240–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void blink6CB() {
241 if ( tBlink6.getRunCounter() & 1 ) {
242 LEDOn();
243 tBlink6.setInterval( interval6 );
244 }
245 else {
246 LEDOff();
247 tBlink6.setInterval( TASK_SECOND - interval6 );
248 }
249}
250
251void blink6OD() {
252 tBlink1.restartDelayed( 2 * TASK_SECOND );

Callers

nothing calls this directly

Calls 4

getRunCounterMethod · 0.80
setIntervalMethod · 0.80
LEDOnFunction · 0.70
LEDOffFunction · 0.70

Tested by

no test coverage detected