1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-04 22:17:39 +08:00

23 lines
760 B
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
2014-06-09 19:01:53 -07:00
- Direct Pin
- LED
2014-06-09 19:01:53 -07:00
- Makey Button
- Motor
- Servo
2014-06-09 19:01:53 -07:00
More drivers are coming soon...