1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00
Warren Fernandes 44224746b4 Uses time.NewTimer() instead of time.After() to be more efficient.
- Makes tests more consistent
- Fixes halt test
- Asserts on returned error

Signed-off-by: Warren Fernandes <warren.f.fernandes@gmail.com>
2016-10-27 03:34:52 -06:00
..

GPIO

This package provides drivers for General Purpose Input/Output (GPIO) devices . It is normally not used directly, but instead is registered by an adaptor such as firmata that supports the needed interfaces for GPIO devices.

Getting Started

Installing

go get -d -u github.com/hybridgroup/gobot/... && go install github.com/hybridgroup/gobot/platforms/gpio

Hardware Support

Gobot has a extensible system for connecting to hardware devices. The following GPIO devices are currently supported:

  • Analog Sensor
  • Button
  • Buzzer
  • 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
  • LED
  • Makey Button
  • Motor
  • Relay
  • RGB LED
  • Servo

More drivers are coming soon...