6bf5b3a532
Each spi drivers must not close the connection: it's not its responsibility. Robots should close the connection. Signed-off-by: Eithel <tux.eithel@gmail.com> |
||
---|---|---|
.. | ||
README.md | ||
apa102.go | ||
apa102_test.go | ||
doc.go | ||
mcp3002.go | ||
mcp3002_test.go | ||
mcp3004.go | ||
mcp3004_test.go | ||
mcp3008.go | ||
mcp3008_test.go | ||
mcp3202.go | ||
mcp3202_test.go | ||
mcp3204.go | ||
mcp3204_test.go | ||
mcp3208.go | ||
mcp3208_test.go | ||
mcp3304.go | ||
mcp3304_test.go | ||
spi.go | ||
spi_config.go | ||
spi_test.go | ||
ssd1306_driver.go | ||
ssd1306_driver_test.go |
README.md
SPI
This package provides drivers for spi devices.
It currently must be used along with platforms such as the Raspberry Pi and Beaglebone Black that have adaptors that implement the needed SPI interface.
The SPI implementation uses the awesome periph.io which currently only works on Linux systems.
Getting Started
Installing
go get -d -u gobot.io/x/gobot/...
Hardware Support
Gobot has a extensible system for connecting to hardware devices.
The following spi Devices are currently supported:
- APA102 Programmable LEDs
- MCP3002 Analog/Digital Converter
- MCP3004 Analog/Digital Converter
- MCP3008 Analog/Digital Converter
- MCP3202 Analog/Digital Converter
- MCP3204 Analog/Digital Converter
- MCP3208 Analog/Digital Converter
- MCP3304 Analog/Digital Converter
- GoPiGo3 Robot
Drivers wanted! :)
The following spi Adaptors are currently supported:
- Raspberry Pi
Adaptors wanted too!