diff --git a/README.md b/README.md index d91b932..ed8ade3 100644 --- a/README.md +++ b/README.md @@ -208,6 +208,7 @@ platforms. * **PWM** [Documentation](http://godoc.org/github.com/kidoman/embd#PWMPin) * **I2C** [Documentation](http://godoc.org/github.com/kidoman/embd#I2CBus) * **LED** [Documentation](http://godoc.org/github.com/kidoman/embd#LED) +* **SPI** [Documentation](http://godoc.org/github.com/kidoman/embd#SPIBus) ## Sensors Supported @@ -237,6 +238,10 @@ platforms. * **ServoBlaster** RPi PWM/PCM based PWM controller [Documentation](http://godoc.org/github.com/kidoman/embd/controller/servoblaster), [Product Page](https://github.com/richardghirst/PiBits/tree/master/ServoBlaster) +## Convertors + +* **MCP3008** 8-channel, 10-bit ADC with SPI protocol, [Datasheet](https://www.adafruit.com/datasheets/MCP3008.pdf) + ## Contributing We look forward to your pull requests, but contributions which abide by the [guidelines](https://github.com/kidoman/embd/blob/master/CONTRIBUTING.md) will get a free beer! diff --git a/convertors/mcp3008/mcp3008.go b/convertors/mcp3008/mcp3008.go index 716d437..0159bd1 100644 --- a/convertors/mcp3008/mcp3008.go +++ b/convertors/mcp3008/mcp3008.go @@ -1,3 +1,4 @@ +// Package mcp3008 allows interfacing with the mcp3008 8-channel, 10-bit ADC through SPI protocol. package mcp3008 import (