Digital I/O
It has 14 digital input/output pins, labeled D0 to D13 (of which 6
can be used as PWM outputs). These pins can be configured as
digital input pin to read the logic value (0 or 1). Or used as digital
output pin to drive different modules like LED, relay, etc. The pin
D3, D5, D6, D9, D10, and D11 can be used to generate PWM.
For digital port, you can connect through female headers, or
through pin headers (labeled S) of 2.54mm pitch.
ICSP (In-Circuit Serial Programming) Header
ICSP is an AVR, an Arduino micro-program header consisting of
MOSI, MISO, SCK, RESET, VCC, and GND. Connected to ATMEGA
16U2-MU. When connecting to PC, program the firmware to
ATMEGA 16U2-MU.