MCPcopy 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
87int16_t MCP_ADC::analogRead(uint8_t channel)
88{
89 if (channel >= _channels) return 0;
90 return readADC(channel, true);
91}
92
93
94int16_t MCP_ADC::differentialRead(uint8_t channel)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36