This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2541: IR capture

Part Number: CC2541

Dear Sir,

I want to capture of IR signal of a IR remote.

I do initialization for Timer 1 in Capture mode.

But the problem is that how could get ISR for every interrupt. 

I do something for ISR, But it show an ERROR Like 

Error[Pe169]: expected a declaration.


Here i attached what i do for ISR..........

 

           what should i do for that.

  Please help on this........