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.
10 years, 2 months ago.
I am getting the error seen below, what does it mean?
Error: No instance of overloaded function "mbed::InterruptIn::rise" matches the argument list in "main.cpp", Line: 44, Col: 19
Question relating to:
2 Answers
10 years, 2 months ago.
If you are using pins 19 or 20. Then no interrupt
Please show your code. More people help
This is a code snippet
- include "mbed.h"
...
InterruptIn lightning(p25);
...
int main() {
...
lightning.rise(&strike);
The lightning.rise(... statement is like the example in the InterruptIn section of the Handbook. When I compile the example code, there are NO errors. There is also only one prototype shown when I mouse over the rise function. In my code, there are seven prototypes for the rise function.
I also want to disable interrupts, but find no instructions to do that (so far).
posted by 24 Jul 2014
As others below indicated, please share line 44
posted by Martin Kojtal 24 Jul 2014