Elecrow Raspberry Pi & Arduino Starter Kit User Manual page 6

Table of Contents

Advertisement

Make sure there are no errors on the way and congratulations! you've successfully installed all
the required drivers.
Please follow the next steps to prepare for the IR LED driver installation.
IR LED driver installation
First, let's install the lirc library, the main library that will help us send and receive IR codes using
our sensor later on in this lessons:
sudo apt-get install lirc
After successfully installing the lirc library, we need to install the python support for lirc so we
could write python code and being able to connect it with the lirc library all together.
sudo pip install python-lirc
sudo pip3 install python-lirc
Note: on the latest Raspbian pip3 install python-lirc will not work, we are working to solve it
ASAP. You'll need to use python2 for the IR script for now.
Inside CrowPi/Drivers/LIRC folder that we cloned, there are 3 files you need to copy the files to
the LIRC configuration directory, from the CrowPi folder run the following commands:
sudo cp Drivers/LIRC/* /etc/lirc
After you moved the configuration file, edit your boot config file
6 of 114

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Raspberry Pi & Arduino Starter Kit and is the answer not in the manual?

Table of Contents