General Purpose Input Output is a set of pins in the microcontroller. In this article, we will learn about basic general-purpose input-output pin programming of 8051 microcontroller.