Ich sehe da 2 kleine Fehler:
Code:
volatile unsigned char t1, t2;
und

Code:
if( (t1) && (t2) && (t1 == t2) ){//.....
}
Kleiner Tipp am Ende:

Code:
t1 = 0;
t2 = 0;
LG
Spacy Bar