AnsweredAssumed Answered

FRDM-K64  GPIO_ReadPinInput; GPIO_SetPinsOutput and GPIO_ClearPinsOutput

Question asked by Diogo Moreira on Dec 26, 2018
Latest reply on Dec 27, 2018 by Diogo Moreira

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!

Attachments

Outcomes