Hello,
i use im my sketch (ported from MEGA) the following function:
digitalWrite(PORT_REL1, PORT_REL_EIN); //set pin 2 on low or high
and later..
Serial.println(digitalRead(PORT_REL1)); //read pin 2
But the result of the digitalRead() is always 0 in case of some ports (2, 22, 30, 40...) ?
On some other ports (3, 8, 9..) the function works fine.
Is it a bug or a "feature"?
paulinchen