Unable to set time for PIC32 timers
TICKS_PER_SECOND = 10;

However, your resolution may be wrong, so you may want to prescale at T1_PS_1_128 with PRESCALE = 128, or lower if needed to use an integer number or full scale of timer bits.

Its all pretty basic math.