GROUND ----------------------- IR receiver ( from left Pin-02)
GPIO-18 (Pin-12) -------------- IR receiver ( from left Pin-01)
GPIO-18 (Pin-12) -------------- IR receiver ( from left Pin-01)
# vim /etc/modules
lirc_dev
lirc_rpi gpio_in_pin=18 gpio_out_pin=17
dtoverlay=lirc-rpi
# modprobe lirc_rpi
# mode2 -d /dev/lirc0
沒有留言:
張貼留言