PID control

Robin2:
But I don't understand the value of taking samples at 6 second intervals when I only using every second one.

Excellent question. Took me a while to remember the answer.

It's bedtime so I will leave you with a puzzle (one question) instead of an explanation (probably three short paragraphs)... What assumption are you making about how the input value is acquired?