Have problem to run a code in KL25z

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Have problem to run a code in KL25z

782件の閲覧回数
Amir_Nasiri
Contributor I

Hello Community,

スポイラ
スポイラ
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 件の賞賛
返信
1 返信

768件の閲覧回数
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 件の賞賛
返信