I have a V3 PixelBlaze and using GPIO0/25/26 as follows:
pinMode(0, INPUT_PULLUP)
pinMode(25, INPUT_PULLUP)
pinMode(26, INPUT_PULLUP)
I have a external USB input to map the pins. GPIO25 and GPIO26 works fine.
I cab read them correctly using
digitalRead(0)
digitalRead(25)
digitalRead(26)
digitalRead(0) typically works fine, however, when the external signal is connected to GPIO0 after V3 board already up and running, it was read incorrect (always 0). I have to press the reset button on V3, then everything back to normal. This behavior is different than GPIO25/GPIO26.
I wonder if there is any suggestion on how to handle it (reset button is the last resort).
Thanks!