Stap 2: installatie
Relevante software installeren$ sudo apt-get update & & sudo ad rem-worden installeren pcduino-linux-kop-3.4.29+
$ git clone https://github.com/liaods/modules
Als je git hebt, moet u het eerst installeren.
$ sudo apt-get install git-core
compileren
Compileren van het gedownloade bestand mod
$ cd /home/ubuntu/modules
$ maken M = 'pwd' - C /usr/src/linux-headers-3.4.29+/
Laad de infrarood module
$ sudo insmod ir-keypad.ko pin = 11
PIN = 11 betekent Linker infraroodontvanger op GPIO11 aangesloten, kunt u de GPIO kiezen uit GPIO0-4 of GPIO 7-17. Zonder pin = xx, de standaardwaarde is 8