Rpi gpio api download. GPIO library should be one of your very first steps.