 Configured to the output state, GPIO pins can drive external devices such as LEDs or motors, often indirectly, through external power electronics.Many embedded systems need to read sensors that produce analog signals.This is the purpose of the analog-to-digital converter (ADC).