1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-29 13:49:14 +08:00

39 lines
846 B
Markdown
Raw Normal View History

2014-06-09 19:01:53 -07:00
# GPIO
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.
## Getting Started
2014-06-09 19:01:53 -07:00
## Installing
```sh
go get -d -u gobot.io/x/gobot/v2/...
```
2014-06-09 19:01:53 -07:00
## Hardware Support
Gobot has a extensible system for connecting to hardware devices. The following GPIO devices are currently supported:
- 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
More drivers are coming soon...