I am using this function GPIOPinWrite() to turn a led on and off. The led of my board is on PORT C and PIN 6 . When I am turning it off I use the function:
GPIOPinWrite(GPIO_LED_BASE, GPIO_GREEN_LED, 0x00);
It works, but another device I am using is connected to PORT C and PIN 5. After using the function I mentioned above, the device does not work anymore. I assume because I am disabling the whole port and not the single pin. Can someone help me please to fix this? Thanks