Datasheet

5
|
P a g e
Add these lines to the end of the file:
lirc_dev
lirc_rpi gpio_in_pin=23
Save your changes, press Ctrl-x then Y and enter.
To set up your pi to receive IR data from PIFace CAD, first backup the
previous Linux Infrared Remote Control configuration with:
cp /etc/lirc/hardware.conf ~/.
Then edit the configuration using
sudo nano /etc/lirc/hardware.conf
So it looks like the following:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="--uinput"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""