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

Function LEDOn

tests/test-scheduler-blink-example.cpp:155–164  ·  view source on GitHub ↗

Simulated LED control functions

Source from the content-addressed store, hash-verified

153
154// Simulated LED control functions
155void LEDOn() {
156 if (!simulated_led_state) {
157 simulated_led_state = true;
158 led_state_changes++;
159 blink_test_output.push_back("LED_ON");
160 if (debug_output_enabled) {
161 std::cout << "LED ON at " << millis() << "ms" << std::endl;
162 }
163 }
164}
165
166void LEDOff() {
167 if (simulated_led_state) {

Callers 6

blink1CBFunction · 0.70
blink2CB_ONFunction · 0.70
blink3CBFunction · 0.70
blink41Function · 0.70
blink51Function · 0.70
blink6CBFunction · 0.70

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected