plus or minus notation (SOLVED)

As with any project, as it progresses the specs change some. In your initial post you stated

Check IF first value is within 5 of the second value.

. I assume by now our specs are different. Can you provide your current specs/requirements ?

In your code example, you appear to only call analogRead() in setup(). Wouldn't this cause the sensor only to be read once?

Which code are you referring to ? Which reply ?

Which code? Please just give us your current sketch (code). Thanks, Jack