How to do Blynk in a new Arduino Class?

Hey guys,

in my project i use many classes and underclasses. So now i want to use Blynk in a new class with the name “App”. The problem is to use Bynk-functions in the new class because it is not allowed to do something like:

void App::blynkAction() { BLYNK_WRITE(V0) { ... } }

Normally i have to use Blynk::BLYNK_WRITE in the App-function but this not exists.

Can someone help me? Sorry for my bad english :wink:


I’d like to know too.

1 Like