enabling gpio pins

  • i read somewhere i had to add some code to the config.txt

    but the way i read it is for IR remotes etc and its just 1 pin?

    i want to use 4 gpio pins what do i have to do?

    i have installed the raspberry pi tools from the repository

  • From: Wiki

    GPIO IR receiver on RPi

    Add the following line to /flash/config.txt (read Raspberry Pi Config.txt for detailed instructions):

    Code
    dtoverlay=gpio-ir

    Add the gpio_pin parameter if you used a custom GPIO (default is 18). eg:

    Code
    dtoverlay=gpio-ir,gpio_pin=5