GPIO

General Purpose Input Output (GPIO) is the most basic and essential part of the embedded system. It is used to interface the microcontroller with the external world. The microcontroller can read the input from the external world and can also control the output to the external world. The input can be a sensor, switch, etc. and the output can be an LED, relay, etc.