Hi everyone!
I am using MCUXpresso IDE v10.3.0.
I tested the functions GPIO_ReadPinInput; GPIO_SetPinsOutput and GPIO_ClearPinsOutput using FRDM-KL25Z board and it worked very well, but if I try to use with FRDM- K64F I am getting an error related to these functions. I attached my program and the message error.
I just trying to read the state of SW2 switch on the board ( PTC6 pin) than I toggle the state of the RGB Led ( pin PTB22).
Does someone have any idea what is happening? Thanks in advance!
Solved! Go to Solution.
Problem solved. For this particular board these functions are GPIO_PinRead( ), GPIO_PortSet( ) and GPIO_PortClear( ). I discovered that looking at the "fsl_gpio.h " file in the drivers folder.
Problem solved. For this particular board these functions are GPIO_PinRead( ), GPIO_PortSet( ) and GPIO_PortClear( ). I discovered that looking at the "fsl_gpio.h " file in the drivers folder.