Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 9 months ago.
Button control
Hello Any one to know how I can controll with the help of the 2, 3 buttons different voids. For example I want when I press first button to execute one void , and when press second button to execute the second void and so on . Thank you
1 Answer
7 years, 9 months ago.
Any reason why this isn't as simple as:
if (button1) function1(); if (button2) function2(); if (button3) function3();