Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 679 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 679 Bytes

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