i have 2 digital input pins(pin16 & pin17 actually i need 4)
just to test if it really gonna work.What i did is that
i just give 5volts or high to these pins as input data
but what happened there is that the 2 digitalOutput pins respectively
seems doesnt do to the conditions i gave it seems it can affect the other condition.
here is a part of my code .
if (digitalRead(16) == LOW )
{ digitalWrite(ledPin7,HIGH);
}
if (digitalRead(17) == LOW )
{ digitalWrite(ledPin6,HIGH);
}
else
digitalWrite(ledPin7,LOW);
digitalWrite(ledPin6,LOW);
,,
what i really want to do there is that
just have 4 inputs(that would be 5volts)
and also give 4 outputs respectively..
we really need Ur suggestions and ideas.. thnx ;d
