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

Function delay

tests/Arduino.h:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31inline void delay(unsigned long ms) {
32 std::this_thread::sleep_for(std::chrono::milliseconds(ms));
33}
34
35inline void delayMicroseconds(unsigned long us) {
36 std::this_thread::sleep_for(std::chrono::microseconds(us));

Callers 15

SleepMethodFunction · 0.85
enableDelayedMethod · 0.85
setIntervalMethod · 0.85
runBlinkSchedulerUntilFunction · 0.85
TEST_FFunction · 0.85
runSchedulerMethod · 0.85
waitForConditionMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
interval_timing_callbackFunction · 0.85
TEST_FFunction · 0.85
waitForConditionFunction · 0.85

Calls

no outgoing calls

Tested by 8

runBlinkSchedulerUntilFunction · 0.68
TEST_FFunction · 0.68
runSchedulerMethod · 0.68
waitForConditionMethod · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
interval_timing_callbackFunction · 0.68
TEST_FFunction · 0.68