Every AVR has some input/output ports. The port has up to 8 physical pins on its package. Every pin can be configured as input or output. If a pin is used for input, it can turn on built-in pull-up resistors through register PORTx. If a pin is configured as output, it can handleup to 40mA of load per pin and max 100mA for all pins on the port.