Tool/software: Code Composer Studio
I have Hercules TMS57012x DEVELOPMENT BOARD ,i am trying to LED blink when I pressed user BUTTON.There are two user button one is connected with GIOB_2 ,and another one i don't know.
when i am pressing the user button,LED is not glowing.
this is my code.
while (1) {
if (gioGetBit(gioPORTB, 2)==1) {
gioSetBit(gioPORTB, 1, 1);
} else {
gioSetBit(gioPORTB, 1, 0);
}
So i need some help.