MCP3008 Raspberry Pi C++ API for MCP3008 or MCP3004. Use with Raspberry Pi Requires lgpio Code tested inside virtual Raspberry Pi Zero/3/4 environments on GitHub using namespace MCP3008Lib; MCP3008 adc; adc.connect(); adc.read(0); //read mcp300x channel 0