Hi Chris,
I just tested the following code using KDS_3.0+KSDK_1.3+PE for frdm-kl43z successfully.
/* Write your code here */
/* For example: for(;;) { } */
uint32_t pinstate;
while(1) {
pinstate = GPIO_DRV_ReadPinInput(LED2_RED);
pinstate = !pinstate;
GPIO_DRV_WritePinOutput(LED2_RED, pinstate);
pinstate = GPIO_DRV_ReadPinInput(LED2_RED);
GPIO_DRV_SetPinOutput(LED2_RED);
pinstate = GPIO_DRV_ReadPinInput(LED2_RED);
GPIO_DRV_ClearPinOutput(LED2_RED);
pinstate = GPIO_DRV_ReadPinInput(LED2_RED);
GPIO_DRV_TogglePinOutput(LED2_RED);
}
Is your KDS Help->Install new software.... up-to-date?
Attached is my working project.
Regards,
David