RaspberryPiGPIO

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m
Line 2: Line 2:
 
= Raspberry Pi GPIO input output driver =
 
= Raspberry Pi GPIO input output driver =
 
This devices enables the GPIO pins of the Raspberry Pi to be used as input and output devices.
 
This devices enables the GPIO pins of the Raspberry Pi to be used as input and output devices.
 +
= Install package =
 +
agocontrol-raspiGPIO
 +
 
= Configuration =
 
= Configuration =
 
Add the following to the /etc/opt/agocontrol/conf.d/raspiGPIO.conf change the pin numbers to what you are using:
 
Add the following to the /etc/opt/agocontrol/conf.d/raspiGPIO.conf change the pin numbers to what you are using:

Revision as of 10:05, 9 March 2015

Contents

Raspberry Pi GPIO input output driver

This devices enables the GPIO pins of the Raspberry Pi to be used as input and output devices.

Install package

agocontrol-raspiGPIO

Configuration

Add the following to the /etc/opt/agocontrol/conf.d/raspiGPIO.conf change the pin numbers to what you are using:

[raspiGPIO]
inputs=18,23 
outputs=22,24,25

If you find the on/off commands does the opposite to what it should then add the following to the raspiGPIO.conf file

reverse=1

Installation

sudo apt-get install agocontrol-raspigpio
Personal tools