Click Raspberry Pi Getting Started - 5 GPIO.pdf link to view the file.