How to config a polling button?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

How to config  a polling button?

      GPIO_INPUT|GPIO_INIT_HIGH/*LOW*/|GPIO_INT|GPIO_BUTTON,

      GPIO_INPUT|GPIO_INIT_HIGH/*LOW*/|GPIO_INT|GPIO_BUTTON2,

      GPIO_INPUT|GPIO_INIT_HIGH/*LOW*/|GPIO_INT|GPIO_BUTTON3,

0 Likes
1 Solution

I believe this post will provide the necessary guidance: Re: buttons in hello_sensor.c

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable
    bleprofile_regButtonFunctionCb(TimeButton);

    bleprofile_regIntCb((BLEPROFILE_SINGLE_PARAM_CB) hello_sensor_interrupt_handler);

why my TimeButton() is not be call?only the hello_sensor_interrupt_handler() be called,whenever I press button1 ,button2 adn button3?

0 Likes

I believe this post will provide the necessary guidance: Re: buttons in hello_sensor.c

0 Likes