Problem updating interrupt driven counter

Did you mean "volatile int Ticks;"?

Please remember to use code tags when posting ALL of you code.