I have a simple zener diode circuit to protect the pins from >3.3v:
When i use pinMode(xx, INPUT_PULLUP), the pins only reads 1.6v, which is not ideal.
When i use pinMode(xx, OUTPUT) and then write it to HIGH, the pins reads 3.3v.
If I remove the zener diode, pinMode(xx, INPUT_PULLUP) will...