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

How to add button function to ble_app_uart example

I want to add a button function to the ble_app_uart.

I don't need to use the functions of the BLE Button Module.

It's enough to just change the value of the variable when each button is pressed.

For example, when button1 is pressed, the variable 'a' becomes '1', and when button2 is pressed, the variable 'b' becomes '2'.

How do I solve my problem?

Parents
  • Hi

    We'd still suggest using the Button module for a complete and finished package that is easy to integrate into your project. Alternatively, you can look at the button module to see how the buttons are implemented there.

    Due to the summer vacation period here in Norway, we are low on staff at the moment, so delayed replies are expected. Sorry about the inconvenience!

    Best regards,

    Simon

Reply
  • Hi

    We'd still suggest using the Button module for a complete and finished package that is easy to integrate into your project. Alternatively, you can look at the button module to see how the buttons are implemented there.

    Due to the summer vacation period here in Norway, we are low on staff at the moment, so delayed replies are expected. Sorry about the inconvenience!

    Best regards,

    Simon

Children
No Data
Related