Read sensor digital pins direction.
Return the digital pins direction value of a sensor on the specified port.