Pin Mapping

Each pin on the micro-controller is mapped to perform a certain operation. The pins of a micro-controller are called General Purpose Input Output (GPIO) pin.

The following mapping helps us in programming the board. Dx indicates Digital Pins while Ax indicates Analog pins:

Arduino - Atmega328 Pin Mapping

To make programming simpler, we can create a config.h file where all the pin-outs are mapped to their usage in the board.

Last updated