RC5 or RC6

Using below values and changing antall to 16, gives me a binary read of the 0's that fit for the Phillips TV controller regarding keys 0-9.

But its not accurate, so stil miss that oscilloscope to adjust.

regards

.
.
long timer2=888;
long timer3=9331;