volatile unsigned char TimerSec, Secunda; вам помогут, во всяком случае TimerSec точно должен быть объявлен как volatile
E-mail: info@telesys.ru