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