Tool/software: Code Composer Studio
Hi,
I am learning Tivaware c series TM4c1294xlNCPDT launchpad. I want to use the two switches which are placed on the launchpad at PJ0 and PJ1 and blink the leds present at PN0, PN1, PF0 and PF4.
When I do the blinking of LEDs without taking the input from the switches, they work properly but as soon as I put the APIs for GPIOPinRead() and GPIOPadConfigSet(), it builds properly but do not function when I press the switch. I have done padding at 4MA and Pull Down Configuration.
I have also tried the debugging part but the values from input pins are not changing.
(I want the leds to be ON when I press PJ0 and OFF when I press PJ1. My board is EK-TM4C1294NCPDT)
Please help me to solve this problem.