Help with error message "serial was not declared in this scope"

Oh my good lord ! How could I have overlooked that??!!
Thanks IanCrowe, you are a complete star !
I feel like I am as thick as a whale omelette for not seeing that..
Really appreciate the quick reply there, karma given.
Taa
Terry