Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bdring/FluidNC
/ __digitalRead
Function
__digitalRead
X86TestSupport/TestSupport/Arduino.cpp:32–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
}
31
32
extern
"C"
int __digitalRead(uint8_t pin) {
33
auto& io = SoftwareGPIO::instance();
34
return io.read(pin);
35
}
36
37
extern
"C"
void __pinMode(uint8_t pin, uint8_t mode) {
38
auto& io = SoftwareGPIO::instance();
Callers
2
Test
Function · 0.85
read
Method · 0.85
Calls
1
read
Method · 0.45
Tested by
2
Test
Function · 0.68
read
Method · 0.68