This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

"called object '8' is not a function or function pointer" compile error

Hi,Simon:

   I use App_Hid_mouse example.When I change IO,Error came out.

code:

Parents Reply
  • 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

Children
Related