Skip to content

endail/MCP3008

Repository files navigation

MCP3008

Build on Raspberry Pi cppcheck

Raspberry Pi C++ API for MCP3008 or MCP3004.

using namespace MCP3008Lib;
MCP3008 adc;
adc.connect();
adc.read(0); //read mcp300x channel 0