RaspberryPiGPIO

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m
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 =
+
= Installation =
  agocontrol-raspiGPIO
+
  sudo apt-get install agocontrol-raspigpio
  
 
= Configuration =
 
= Configuration =
Line 13: Line 13:
 
If you find the on/off commands does the opposite to what it should then add the following to the raspiGPIO.conf file
 
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
 
  reverse=1
 
= Installation =
 
sudo apt-get install agocontrol-raspigpio
 

Latest revision as of 09:06, 9 March 2015

[edit] Raspberry Pi GPIO input output driver

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

[edit] Installation

sudo apt-get install agocontrol-raspigpio

[edit] 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
Personal tools