hybridgroup.gobot/drivers/spi
Thomas Kohler 16a453248e Update go.mod to 1.17 and all modules incl. code upgrades 2022-10-19 19:32:56 +02:00
..
README.md spi: remove unneeded code as suggested by @maruel 2018-04-16 09:56:17 +02:00
apa102.go #700 - Avoid to close the connection. 2020-01-14 07:27:23 +01:00
apa102_test.go Apa102 use default brightness (#671) 2019-05-31 11:34:00 +02:00
doc.go spi: switch to using periph.io for SPI interfaces 2018-04-12 12:25:39 +02:00
mcp3002.go #700 - Avoid to close the connection. 2020-01-14 07:27:23 +01:00
mcp3002_test.go spi: add MCP3002 A/D converter 2017-12-13 16:40:44 +01:00
mcp3004.go MCP3004: correct number of channels 2021-11-14 13:31:47 +01:00
mcp3004_test.go spi: correct support for MCP3004/MCP3008 A/D converters 2017-12-13 15:40:38 +01:00
mcp3008.go #700 - Avoid to close the connection. 2020-01-14 07:27:23 +01:00
mcp3008_test.go spi: correct support for MCP3004/MCP3008 A/D converters 2017-12-13 15:40:38 +01:00
mcp3202.go #700 - Avoid to close the connection. 2020-01-14 07:27:23 +01:00
mcp3202_test.go spi: Add MCP3202, MCP3204, MCP3208, and MCP3304 drivers 2017-12-13 20:08:31 +01:00
mcp3204.go #700 - Avoid to close the connection. 2020-01-14 07:27:23 +01:00
mcp3204_test.go spi: Add MCP3202, MCP3204, MCP3208, and MCP3304 drivers 2017-12-13 20:08:31 +01:00
mcp3208.go #700 - Avoid to close the connection. 2020-01-14 07:27:23 +01:00
mcp3208_test.go spi: Add MCP3202, MCP3204, MCP3208, and MCP3304 drivers 2017-12-13 20:08:31 +01:00
mcp3304.go #700 - Avoid to close the connection. 2020-01-14 07:27:23 +01:00
mcp3304_test.go spi: Add MCP3202, MCP3204, MCP3208, and MCP3304 drivers 2017-12-13 20:08:31 +01:00
spi.go Update go.mod to 1.17 and all modules incl. code upgrades 2022-10-19 19:32:56 +02:00
spi_config.go spi: add optional params such as bus/chip to all current drivers 2018-04-12 12:25:39 +02:00
spi_test.go Update go.mod to 1.17 and all modules incl. code upgrades 2022-10-19 19:32:56 +02:00
ssd1306_driver.go spi: add ShowImage() function to ssd1306 driver based on @mikegleasonjr suggestion 2018-08-07 21:58:43 +02:00
ssd1306_driver_test.go spi: add ShowImage() function to ssd1306 driver based on @mikegleasonjr suggestion 2018-08-07 21:58:43 +02:00

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!