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