I am using a digital pin as an output. After writing, I would like to perform a digitalRead to confirm the write.
However, the digitalRead responds with an "Off" (0) no matter the actual state of the pin.
Is this not possible? Is there a better way of making this confirmation, or is there a good argument that this extra check is overkill?