Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ Read
Method
Read
examples/LuminescentGrand/arduino/buttons.h:71–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
}
70
71
bool Read() {
72
// Toggle the pin back to INPUT and take a reading.
73
int val = digitalRead(mPin) == LOW;
74
75
return val;
76
}
77
private:
78
int mPin;
79
};
Callers
nothing calls this directly
Calls
1
digitalRead
Function · 0.50
Tested by
no test coverage detected