MCPcopy Create free account
hub / github.com/SmingHub/Sming / setTimer

Method setTimer

samples/Basic_Delegates/app/application.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 }
21
22 bool setTimer(int reqInterval)
23 {
24 if(reqInterval <= 0) {
25 return false;
26 }
27 taskInterval = reqInterval;
28 return true;
29 }
30
31 // This example shows how to use a plain old ordinary function as a callback
32 void callPlainOldOrdinaryFunction()

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected