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,
Solved! Go to Solution.
I believe this post will provide the necessary guidance: Re: buttons in hello_sensor.c
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?
I believe this post will provide the necessary guidance: Re: buttons in hello_sensor.c