MCP3204
The MCP3204 Analog to Digital Converter (ADC) allows user to read analog voltages via SPI interface.
API ReferenceHow To Connect
Install the package with: go get gobot.io/x/gobot
You must pass in an Adaptor that supports the spi.Connector
interface to use with this Driver.
The MCP3204Driver implements the AnalogPinner interface, so you can use any of the AIO Drivers with the MCP3204Driver.
d := spi.NewMCP3204(adaptor)
How To Use
Example using a MCP3204 Analog-to-Digital Converter
// code here