2014-06-09 19:01:53 -07:00
|
|
|
# GPIO
|
2014-04-26 03:11:51 -07:00
|
|
|
|
2023-05-20 14:25:21 +02:00
|
|
|
This package provides drivers for [General Purpose Input/Output (GPIO)](https://en.wikipedia.org/wiki/General_Purpose_Input/Output)
|
|
|
|
devices. It is normally used by connecting an adaptor such as [Raspberry Pi](https://gobot.io/documentation/platforms/raspi/)
|
|
|
|
that supports the needed interfaces for GPIO devices.
|
2014-04-26 03:11:51 -07:00
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
2014-06-09 19:01:53 -07:00
|
|
|
## Installing
|
2023-05-20 14:25:21 +02:00
|
|
|
|
|
|
|
```sh
|
|
|
|
go get -d -u gobot.io/x/gobot/v2/...
|
2014-04-26 03:11:51 -07:00
|
|
|
```
|
2014-06-09 19:01:53 -07:00
|
|
|
|
2014-04-26 03:11:51 -07:00
|
|
|
## Hardware Support
|
2023-05-20 14:25:21 +02:00
|
|
|
|
2014-04-26 03:11:51 -07:00
|
|
|
Gobot has a extensible system for connecting to hardware devices. The following GPIO devices are currently supported:
|
2023-05-20 14:25:21 +02:00
|
|
|
|
|
|
|
- Button
|
|
|
|
- Buzzer
|
|
|
|
- Direct Pin
|
|
|
|
- Grove Button
|
|
|
|
- Grove Buzzer
|
|
|
|
- Grove LED
|
|
|
|
- Grove Magnetic Switch
|
|
|
|
- Grove Relay
|
|
|
|
- Grove Touch Sensor
|
|
|
|
- LED
|
|
|
|
- Makey Button
|
|
|
|
- Motor
|
|
|
|
- Proximity Infra Red (PIR) Motion Sensor
|
|
|
|
- Relay
|
|
|
|
- RGB LED
|
|
|
|
- Servo
|
|
|
|
- Stepper Motor
|
|
|
|
- TM1638 LED Controller
|
2014-04-26 03:11:51 -07:00
|
|
|
|
2016-05-13 15:24:11 -07:00
|
|
|
More drivers are coming soon...
|