mirror of
https://github.com/kidoman/embd
synced 2024-12-22 12:50:19 +01:00
spi: added go doc and updated readme
This commit is contained in:
parent
c28f7a2de9
commit
66b6aaf1a9
@ -208,6 +208,7 @@ platforms.
|
|||||||
* **PWM** [Documentation](http://godoc.org/github.com/kidoman/embd#PWMPin)
|
* **PWM** [Documentation](http://godoc.org/github.com/kidoman/embd#PWMPin)
|
||||||
* **I2C** [Documentation](http://godoc.org/github.com/kidoman/embd#I2CBus)
|
* **I2C** [Documentation](http://godoc.org/github.com/kidoman/embd#I2CBus)
|
||||||
* **LED** [Documentation](http://godoc.org/github.com/kidoman/embd#LED)
|
* **LED** [Documentation](http://godoc.org/github.com/kidoman/embd#LED)
|
||||||
|
* **SPI** [Documentation](http://godoc.org/github.com/kidoman/embd#SPIBus)
|
||||||
|
|
||||||
## Sensors Supported
|
## 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)
|
* **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
|
## 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!
|
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!
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// Package mcp3008 allows interfacing with the mcp3008 8-channel, 10-bit ADC through SPI protocol.
|
||||||
package mcp3008
|
package mcp3008
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user