Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ analogRead
Method
analogRead
libraries/MCP_ADC/MCP_ADC.cpp:87–91 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
86
87
int16_t MCP_ADC::analogRead(uint8_t channel)
88
{
89
if (channel >= _channels) return 0;
90
return readADC(channel, true);
91
}
92
93
94
int16_t MCP_ADC::differentialRead(uint8_t channel)
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36