PlatformIO Community

[mbed] digitalin rise intellisense error

Hi,

Im’ using this syntax and got an intellisence error:

#include “mbed.h”
#include “rtos.h”
#include “mbed_events.h”
[…]
InterruptIn gate(IRGATE,PullUp);
gate.rise(Localqueue.event(gateDetector));

no instance of overloaded function “mbed::InterruptIn::rise” matches the argument list – argument types are: (events::Event<void ()>) – object type is: mbed::InterruptIn

Building the application is fine.

Thanks for your suggestion!

S.