I made a search for this and came up empty, so gonna toss it out there...
Almost every example/sketch I have seen for the OPTA shows pinMode(.,.) being used. I was debugging a sketch today and realized I had forgotten to use pinMode for one of my inputs. I discovered that was not the problem, as the pin next to it was also NOT setup in pinMode, but it DID work as programmed. After I fixed a hardware problem, I tried "commenting-out" ALL my pinModes to see what would happen.
Surprisingly, the sketch ran perfectly with NONE of the analogInputs, LEDoutputs or relayOutputs being assigned ANY pinMode.
Why is this? (or am I nuts?)