|
It's a Japanese page, but a method IR Send which doesn't use lirc is introduced here.
http://feijoa.jp/lab...rrypi/infrared/
When using GoogleChrome, it's possible to translate into English.
scanir
Remote is received, and a scan code is preserved in a file.
orangepi@orangepipc:~/lirc$ sudo ./scanir tv_on.ir
write file: tv_on.ir
scaning pin: 7 (wiringpi)
max keep time: 40(ms)
Infrared LED scanning start.
Pressed Ctrl+C, this program will exit.
Scanning has been done.
orangepi@orangepipc:~/lirc$ ls -l tv_on.ir
-rw-r--r-- 1 root root 476 Jun 26 07:56 tv_on.ir
sendir
The remote cord preserved by a file is sent to a television.
orangepi@orangepipc:~/lirc$ sudo ./sendir tv_on.ir 1 14
read file: tv_on.ir
output pin: 14 (wiringpi)
unit: 26ms duty:9-17
send infrared signal.
send data.
done
It's work fine with my OPI-PC,
My television was turned on.
|
|