Tool/software: Code Composer Studio
I am trying to toggle GIOB_2 using RTI . i am using TI launchpad for the test.
but the led doesn't toggle. any help
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.
Tool/software: Code Composer Studio
I am trying to toggle GIOB_2 using RTI . i am using TI launchpad for the test.
but the led doesn't toggle. any help
Hello,
Your code is try to toggle GIOB_1 rather than GIOB_2:
gioSetPort(gioPORTB, gioGetPort(gioPORTB) ^ 0x00000002);
Your code looks fine, and it should work. Can you please try a large value compare 0? for example 1000 (1second). 37ms may be too small to see the blinking, the LED may looks like ON or OFF all the time.