!
You can't be that confused, Nick, you just wrote perfect code for the project!
Thank you very much, it now works flawlessly, and I can easily modify every value on testing it outside.
Thanks everybody, too, you've been a massive help on this, my first arduino project, and for helping me catch the Arduino bug.
If there are any niggles or follow up questions on this, this will be where I'll ask them, but for now, I think the post is Solved =)
Thanks again, guys.