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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi all,
Today I am working with the next method and InterruptIn:
InterruptIn IncreaseTimeButton(p21);
int configurateMinutes() {
int urenNew = myTimer.uren;
return minutenNew; }
IncreaseTimeButton.rise(&configurateMinutes);
When I compile the code I get this error: "no instance of overloaded function "mbed::InterruptIn::rise" matches the argument list" in file "/main.cpp", Line: 399, Col: 42
I think the problem is that the method has a returntype int.
Hopefully somebody can help me.