Instructions

Ausgabe 22.09.2017 Copyright by Joy-IT 16
3
RPi - Explorer700
9. IRM Example - Infrared reecting sensor program
BCM2835 Program:
Open the console and enter the following commands:
Expected result: press one of the buons of the infrared remote. The console will show which buon you
pressed:
Press CTRL+C to exit the program.
wiringPi Program:
Open the console and enter the following commands:
Expected result: press one of the buons of the infrared remote. The console will show which buon you
pressed. Press CTRL+C to exit the program.
make
sudo ./irm
cd /Explorer700/IRM/bcm2835
irm test start:
Get the key: 0x0c
Get the key: 0x18
Get the key: 0x5e
make
sudo ./irm
cd /Explorer700/IRM/wiringPi
irm test start:
Get the key: 0x0c
Get the key: 0x18
Get the key: 0x5e