Hi,Simon:
I use App_Hid_mouse example.When I change IO,Error came out.
code:

Hi,Simon:
I use App_Hid_mouse example.When I change IO,Error came out.
code:

Hello,
I use App_Hid_mouse example.When I change IO,Error came out.
Could you verify for me that the unmodified app_hid_mouse example from the SDK is working as intended?
Which SDK version and what hardwardware are you using?
Please elaborate on what changes you have made to the app_hid_mouse example prior to this error occurring. It looks to me as if you have changed something in the board configuration, but with the sparse information given it is hard to say anything certain.
code:
This is just the compiler error, and without any context it does not provide me with much to go after.
You should see where this error is generated, which function is being passed the '8' object, and what is the '8' object?
Looking forward to resolving this issue together!
Best regards,
Karl
When I reedit the project,But there was no error again!
But I was amazing with another error:


when changed the Led port to P008 or P009,that error would come out.
When I reedit the project,But there was no error again!
But I was amazing with another error:


when changed the Led port to P008 or P009,that error would come out.
wzszzxj said:When I reedit the project,But there was no error again!
By this, do you mean when you run the unmodified version of the example, like I requested in my previous comment?
wzszzxj said:when changed the Led port to P008 or P009,that error would come out.
The NRF_GPIO_PIN_MAP macro expects the arguments (port, pin). So, instead you should write (0,8) if you are targeting port 0, pin 8.
Please change this, and see if the error is resolved.
Best regards,
Karl
But with P00-P07 we use as NRF_GPIO_PIN_MAP(0,0X),It almost generates no errors.I can't find out what's the difference.
wzszzxj said:It almost generates no errors.
What do you mean when you say "almost generated no errors"?
wzszzxj said:I can't find out what's the difference.
Neither can I - you are providing me with very little information to work with.
Did you do the two things I requested earlier?
Best regards,
Karl
No,It is in the same project!The problem was solved.I just can't find out the reason,without any message!
I do not understand what you mean, but it seems that your initial problem was solved - which I am happy to hear!
For future reference, it will be much easier for us to help you in the forum if you provide more accurate / detailed information about your issue.
Good luck with your development!
Best regards,
Karl