hybridgroup.gobot/drivers/gpio
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
..
LICENSE core: Move GPIO and I2C drivers into appropriately named 'drivers' directory 2016-09-25 12:34:09 +02:00
README.md core: Move GPIO and I2C drivers into appropriately named 'drivers' directory 2016-09-25 12:34:09 +02:00
analog_sensor_driver.go Uses NewTimer() instead of time.After() to be more 2016-10-27 03:02:32 -06:00
analog_sensor_driver_test.go Fixes AnalogSensor Halt Test 2016-10-27 03:32:56 -06:00
button_driver.go core: Ensure that all drivers have default names 2016-10-03 19:06:37 +02:00
button_driver_test.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00
buzzer_driver.go core: Ensure that all drivers have default names 2016-10-03 19:06:37 +02:00
direct_pin_driver.go core: Ensure that all drivers have default names 2016-10-04 10:25:14 +02:00
direct_pin_driver_test.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00
doc.go core: Move GPIO and I2C drivers into appropriately named 'drivers' directory 2016-09-25 12:34:09 +02:00
gpio.go core: Move GPIO and I2C drivers into appropriately named 'drivers' directory 2016-09-25 12:34:09 +02:00
grove_drivers.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00
grove_drivers_test.go core: Move GPIO and I2C drivers into appropriately named 'drivers' directory 2016-09-25 12:34:09 +02:00
grove_temperature_sensor_driver.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00
grove_temperature_sensor_driver_test.go core: Move GPIO and I2C drivers into appropriately named 'drivers' directory 2016-09-25 12:34:09 +02:00
helpers_test.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00
led_driver.go core: Ensure that all drivers have default names 2016-10-03 19:06:37 +02:00
led_driver_test.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00
makey_button_driver.go Uses time.NewTimer() instead of time.After() to be more efficient. 2016-10-27 03:34:52 -06:00
makey_button_driver_test.go Uses time.NewTimer() instead of time.After() to be more efficient. 2016-10-27 03:34:52 -06:00
motor_driver.go core: Ensure that all drivers have default names 2016-10-03 19:06:37 +02:00
motor_driver_test.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00
relay_driver.go core: Ensure that all drivers have default names 2016-10-03 19:06:37 +02:00
relay_driver_test.go core: Move GPIO and I2C drivers into appropriately named 'drivers' directory 2016-09-25 12:34:09 +02:00
rgb_led_driver.go core: Ensure that all drivers have default names 2016-10-04 10:25:14 +02:00
rgb_led_driver_test.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00
servo_driver.go core: Ensure that all drivers have default names 2016-10-03 19:06:37 +02:00
servo_driver_test.go core: Refactor GPIO drivers for new Driver creation signatures 2016-09-25 13:36:18 +02:00

README.md

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...