SOLVED: Problem compiling code error: "undefined Reference to 'Timer1'"

You need to post all your code not the edited high lights. Where is Timer1 declared?.

Mark