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.

CC2531 USB dongle green light

Other Parts Discussed in Thread: CC2531

Hi,

I'm debugging below code in CC2531 USB dongle

main(){

P0SEL = 0x00;

P0 = 0x00;

P0DIR = 0xFF;

P0 = 0x01; //LED turns on
P0 = 0x00; //LED turns off
P0 = 0x01; //LED turns on
P0 = 0x00; //LED turns off

}

At the end of the code, LED is turning on again while it should remain off. This is only happening with the green LED.

Can you please explain this phenomemo.

Regards

Srikanth