if (pinFiveInput > 3000)
{
// action A
}
else
{
// action B
}
In this code "pinFiveInput" is the name of a variable holding some value. I have no idea what range of values it might have but that piece of code obviously assumes it could be higher or lower than 3000. Also I have no idea how the value was put into that variable.
Looking at your original code it seems there is data being obtained from some external device - whatever that QRE thing is. It seems to be a digital rather than an analog device so I don't think analogRead() s relevant. Can you post a link to its specifications?
...R
...R