Skip to content
Nikola Jovanovic edited this page Oct 4, 2020 · 2 revisions

Note : If you had used LIRC, then you had to uncomment a line in /boot/config.txt to reserve Rx/Tx GPIO pin. Even after uninstalling LIRC that line still reserves the pin, so you'll need to comment it out again and reboot. After a reboot that pin is available for registering event detection and callback.
Rx pin is 11 (Board), i.e. 17 (BCM).

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

Note :
Run sudo pigpiod or sudo systemctl start pigpiod after reboot.
To stop it use sudo systemctl stop pigpiod.
Run sudo systemctl enable pigpiod to enable it to auto-start.
Run sudo systemctl disable pigpiod to disable it at start-up.

Clone this wiki locally