(yellow, 3.5mm middle) PIN 17 [3.3V] ==> + IR LED - ==> [GND] PIN 06 (black, 3.5mm peak)
IRSEND OPTION
-- Help
-h --help display usage summary
-v --version display version
-d --device use given lircd socket [/var/run/lirc/lircd]
-a --address host[:port] connect to lircd at this address
-# --count n send command n times
-- DIRECTIVE can be:
SEND_ONCE - send CODE [CODE...] once
SEND_START - start repeating [CODE]
SEND_STOP - stop repeating [CODE]
LIST - list configured remote items
SET_TRANSMITTERS - set transmitters NUM [NUM...]
SIMULATE - simulate IR event
Remote configuration file: /etc/lirc/lircd.conf
As reference file, this config supports 2 remote units SHM38K & SHARP.
Verify-1: Key code with RCU key mapping.
# irsend LIST lircd.conf ""
==> "lircd.conf" is remote/RCU name, not a file name.
==> That name shall same with second line of "name" on lircd.conf.
==> If name is "SHM38K", the command should be [ # irsend LIST SHM38K "" ].
Verify-2: RCU singal response
# irw
note that if nothing response ==> try to
step-1: kill lirc d process
step-2: restart lirc "/etc/init.d/lirc restart".
==> That name shall same with second line of "name" on lircd.conf.
==> If name is "SHM38K", the command should be [ # irsend LIST SHM38K "" ].
Verify-2: RCU singal response
note that if nothing response ==> try to
step-1: kill lirc d process
step-2: restart lirc "/etc/init.d/lirc restart".
SEND A IR SIGNAL
Result on irw
沒有留言:
張貼留言