NST
New Member
Hi everybody,
I am working on a project for controlling some devices with a remote controller which use NEC protocol. I have written RX codes in CCS using the timers. I have tried to catch fall and rise points to generate two data column and a checksum. After I setup and execute the timer, I wait for signal go to low with while(IR_PIN). But pic doesn't response until this line. It always stays in eternal loop in spite of it's logic value becomes zero.
I confused up.
I am working on a project for controlling some devices with a remote controller which use NEC protocol. I have written RX codes in CCS using the timers. I have tried to catch fall and rise points to generate two data column and a checksum. After I setup and execute the timer, I wait for signal go to low with while(IR_PIN). But pic doesn't response until this line. It always stays in eternal loop in spite of it's logic value becomes zero.
I confused up.