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

Function digitalRead

tests/Arduino.h:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52inline int digitalRead(int pin) {
53 // Mock implementation - return LOW by default
54 if (pin == 0) return LOW;
55 else return HIGH;
56}
57
58inline void yield() {
59 std::this_thread::yield();

Callers 2

blinkCallbackFunction · 0.85
fastBlinkCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected