1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00

38 lines
1.0 KiB
Markdown
Raw Normal View History

2014-06-09 19:01:53 -07:00
# GPIO
2014-06-09 19:01:53 -07:00
This package provides drivers for [General Purpose Input/Output (GPIO)](https://en.wikipedia.org/wiki/General_Purpose_Input/Output) devices . It is normally not used directly, but instead is registered by an adaptor such as [firmata](https://github.com/hybridgroup/gobot/platforms/firmata) that supports the needed interfaces for GPIO devices.
## Getting Started
2014-06-09 19:01:53 -07:00
## Installing
```
go get -d -u github.com/hybridgroup/gobot/... && go install github.com/hybridgroup/gobot/platforms/gpio
```
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:
- Analog Sensor
- Button
- Buzzer
2014-06-09 19:01:53 -07:00
- Direct Pin
- Grove Touch Sensor
- Grove Sound Sensor
- Grove Button
- Grove Buzzer
- Grove Light Sensor
- Grove Piezo Vibration Sensor
- Grove LED
- Grove Rotary Dial
- Grove Relay
- Grove Temperature Sensor
- Grove Magnetic Switch Sensor
- LED
2014-06-09 19:01:53 -07:00
- Makey Button
- Motor
- Relay
- RGB LED
- Servo
More drivers are coming soon...