User manual

Ausgabe 07.12.2016 Copyright by Joy-IT 16
pi@raspberrypi ~/Explorer700/IRM/wiringPi $ make
3
RPi - Explorer700
10. IRM sample programs - Infrared reecve sensor
bcm2835 program:
Enter the Linux terminal, and run the following commands:
The command for compiling the program:
The command for execung the program:
Expected result: Press the keys on the infrared remote controller, and the terminal will display the
relave value of the pressed key.
Press the keys Ctrl+C to end the program.
wiringPi program:
Enter the Linux terminal, and run the following commands:
The command for compiling the program:
The command for execung the program:
Expected result: Press the keys on the infrared remote controller, and the terminal will display the
relave value of the pressed key.
Press the keys Ctrl+C to end the program.
irm test start:
Get the key: 0x0c
Get the key: 0x18
Get the key: 0x5e
pi@raspberrypi ~/Explorer700/IRM/bcm2835 $ sudo ./irm
pi@raspberrypi ~/Explorer700/IRM/bcm2835 $ make
pi@raspberrypi ~/Explorer700/IRM/wiringPi $ sudo ./
irm test start:
Get the key: 0x0c
Get the key: 0x18
Get the key: 0x5e