Decoding RF receiver signals
I see two immediate problems:


The macros A0-A5 are the numbers 14 to 19, not the numbers 0 to 5 - so you're looking at (1 &lt;&lt; 14) for CH1 not (1 &lt;&lt; 0).
The analog pins are port C not port B, so you need to use PINC not PINB.
Your ch?Time variables should be volatile.