Thanks Steve, but how does the ADC know which port to read in? For example, we could read in PortA.1 or PortB.1

cheers

Mark.