From 3.3v to 5v

On the Photon all pins but A3 and A6/DAC are 5V tolerant when used for digitalRead(), hence no need for a voltage divider on any of these as long you are not applying the internal pull-resistors (INPUT_PULLUP or INPUT_PULLDOWN) and not using analogRead().

4 Likes