Hi,
I've been trying to toggle a Pin (P12, pin 5 on J1) with the API, but with no success. What I'm doing wrong?
GPIO_Handle gpioHandle;
// init
GPIO_init(gpioHandle,sizeof(GPIO_Obj));
GPIO_setMode(gpioHandle, GPIO_Number_12, GPIO_12_Mode_GeneralPurpose);
GPIO_setDirection(gpioHandle, GPIO_Number_12, GPIO_Direction_Output);
GPIO_setLow(gpioHandle, GPIO_Number_12);
// (in ISR)
GPIO_toggle(gpioHandle, GPIO_Number_12);
Thank you,
Carsten