Port pins are usually configured at the beginning of a program for either input or output, and their initial values are then set. Usually,all eight pins for a given port are configured simultaneously. A code example is provided below to slow how ports are configured. Note that