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

Function blink6CB

examples/Scheduler_example29_NonArduino/src/main.cpp:253–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void blink6CB() {
254 if ( tBlink6.getRunCounter() & 1 ) {
255 LEDOn();
256 tBlink6.setInterval( interval6 );
257 }
258 else {
259 LEDOff();
260 tBlink6.setInterval( TASK_SECOND - interval6 );
261 }
262}
263
264void blink6OD() {
265 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