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

Function t2Callback

examples/Scheduler_example16_Multitab/file2.cpp:23–26  ·  view source on GitHub ↗

Pretend, that the t2 task is a special task, that needs to live in file2 object file.

Source from the content-addressed store, hash-verified

21//Pretend, that the t2 task is a special task,
22//that needs to live in file2 object file.
23void t2Callback() {
24 Serial.print("t2: ");
25 Serial.println(millis());
26}
27Task t2(3000, TASK_FOREVER, &t2Callback, &runner, true);
28
29//Lets define t3Callback here. We are going to use it in file1

Callers

nothing calls this directly

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected