This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-MSPM0G3507: Pin number wrong!

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

I am configuring my switch pin information.

PB21 is "user botton",

When I debug this project the problem comes.

the PinNumber comes to 2097152!!!!

why? How to solve it ! I need to use the "user botton" to controll a global value.

I really need help. I won't use the SDK. Because the "GPIO Input"SDK include a sysconfig file. I can not use sysconfig.

Could someone teach me how to config the "user botton" without using the "sysconfig".

Thanks!

**Attention** This is a public forum