I’ve got a Panda II and I’m trying to run a set of relays with it. I’ve previously posted about the project: http://www.tinyclr.com/forum/1/3686/
I thought maybe that the output ports were simply in an undefined state upon reboot (the so-called “third state”), but it appears it is not. It’s very definitely going “high” to about ~0.8V upon reset for about 2-3 seconds, and then dropping to zero (I assume just as I initialize the OutputPort). This is enough to trigger the transistor (2N2222) I have connected to that port (through a 2k2 resistor).
I tried putting a 47k resistor between the port and ground, but that did not work.
I tried using a different GPIO pin, but that did not work either (tried Di8 and Di20).
What can I do to prevent this? Should I use a smaller value resistor between the port and ground? The folks over at electronics.stackexchange.com seem to think that the MCU shouldn’t change port states just because it was reset.