Strange one here.
I have a Photon with a reed switch on D2 & GND - when I digitalRead it’s perfectly fine. I open and close the switch no problems at the digitalRead changed from HIGH to LOW and back again as expected on each time I press the reed switch.
When I place my Photon on the Shield Shield, it does a digitalRead fine, but on the FIRST closing of the switch the digitalRead change from HIGH to LOW, but when I release the reed switch it does not return to HIGH - i.e. it sticks!
int REEDSWITCH = D2;
Is there something odd about the Shield Shield that makes the Photon behave in this manner?