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

Add one new button failed in pca10056.h

in pca10056.h, there are 4 buttons.

I want to add one new button, //#define BUTTON_5       NRF_GPIO_PIN_MAP(1,06).

However , it failed.

I debug and find the issue, #define BUTTONS_NUMBER 4, the BUTTONS_NUMBER can not be set as 5 or more.

If the BUTTONS_NUMBER is 4 or 3, it is OK.

Why?

How can I add one new button, thanks!

Parents Reply Children
No Data
Related