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.
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
HI,Karl:
1. when I define more than 4 buttons in the ble_hid_mouse example,it will comes to NRF_BREAKPOINT_COND. It seems the program ,2.And how to use timer1-4?
HI,Karl:
1. when I define more than 4 buttons in the ble_hid_mouse example,it will comes to NRF_BREAKPOINT_COND. It seems the program ,2.And how to use timer1-4?
Hello,
wzszzxj said:1. when I define more than 4 buttons in the ble_hid_mouse example,it will comes to NRF_BREAKPOINT_COND. It seems the program
Could you make sure DEBUG is defined in your preprocessor defines?
How to check this is shown in the included picture:
With DEBUG defines you should be able to see the exact error code that was generated.
wzszzxj said:2.And how to use timer1-4?
To setup the timers you could either use the app_timer library, or you could access the TIMERs API directly.
You can see an example on how to setup a timer in the GPIOTE example from the SDK.
Best regards,
Karl
Hi,Karl:
Thank you for your reply, Pls close this topic,thank you!
Hello,
wzszzxj said:Thank you for your reply,
No problem at all, I am happy to help!
Please do not hesitate to open a new ticket if you should encounter any issues or questions in the future.
Good luck with your development!
Best regards,
Karl
Hi,Karl:
Thank you for reply,Pls close this topic.