 unsigned long smallgap;
 unsigned long thisgap;
 int seq_pos, seq_sub;
-
+unsigned long tolerance;
 unsigned long selisih(unsigned long a, unsigned long b)
 {
 	//--selisih untuk unsigned

			reset_seq();
		}
	}
	Serial.print(seq_pos);
	Serial.print(" ");
	Serial.print(seq_sub);

			reset_seq();
		}
	}
	else if (thisgap > smallgap)
	{
		//-- big gap, expecting seq_pos advance
		if (seq_sub>=seq[seq_pos])
		{
			seq_sub = 1;
			seq_pos = seq_pos+1;
			if (seq_pos>=(SEQ_LENGTH-1))
			{
				//-- finish
				Serial.println("sequence bener!");
				reset_seq();
			}
		}
		else
