something missing when calculating Analog values?

pwheeler:
I ended up using the millis() but extended it to 30 second interval and its working flawless.

Good to hear it is working.

For the future, always post a complete program so we can see everything in context.

...R