Have problem to run a code in KL25z

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Have problem to run a code in KL25z

355 Views
Amir_Nasiri
Contributor I

Hello Community,

Spoiler
Spoiler
I am trying to run a code using KL25z, but I have faced errors as follows. I will be thankful if someone can give me some advice and help me. I also attached the code. 

Thank you in advance. Screenshot (410).png

0 Kudos
1 Reply

341 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello,

I can't replay your error, I recommend uninstalling the SDK and downloading the last version, and trying again. I opened your code and compile it, but I only can see a warnings flags, so I changed it to this.

if((GPIO_ReadPinInput(SW1_PORT, SW1_PIN) == 0) |
(GPIO_ReadPinInput(SW2_PORT, SW2_PIN) == 0) |
(GPIO_ReadPinInput(SW3_PORT, SW3_PIN) == 0) |
(GPIO_ReadPinInput(SW4_PORT, SW4_PIN) == 0) |
(GPIO_ReadPinInput(SW5_PORT, SW5_PIN) == 0) |
(GPIO_ReadPinInput(SW6_PORT, SW6_PIN) == 0))

Best regards,
Pavel

0 Kudos