Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ useDigitalRead
Method
useDigitalRead
libraries/DEVRANDOM/DEVRANDOM.cpp:106–111 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
104
105
106
void DEVRANDOM::useDigitalRead(uint8_t pin)
107
{
108
_mode = 1;
109
_pin = pin;
110
pinMode(_pin, INPUT);
111
};
112
113
114
void DEVRANDOM::useRandom()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64