pulseIn(rcpin, INPUT);
shouldn't this be
pulseIn(rcpin, LOW);
I think INPUT is defined as 0 anyway but just to clarify the code shouldn't it be LOW?
pulseIn(rcpin, INPUT);
shouldn't this be
pulseIn(rcpin, LOW);
I think INPUT is defined as 0 anyway but just to clarify the code shouldn't it be LOW?