variable scope in classes

metalmm:
You mean like the code I have which actually works when in the sketch but then does not when moved to the header file and I can't identify why as stated above?

exactly! because you haven't yet learned how to create and implement a class.