How to move blynk operations into a class

And what about pointer to array? I barely remember, but it was possible?

yes, that is possible.

small update. I’ve managed to get the widget bridge class called in my room class. The next challenge is the timer class, that one actually poses a real problem which most likely means I have to write it up myself to embed it straight into the class. More later.

1 Like

@Wanek: thank you very much for the array suggestion! That worked perfectly!

1 Like

@wolph42 - Did you ever resolve the Blynk.Write(Vx) inside a class…
I have implemented a Finite State model for a garden watering system, written Classes and sub classes and using events , pointers etc.
Ideally I would wish to imbed the Blynk. Write command (and the subsequent param.asInt(). ) inside an event( ie a class).
for this interested in the garden automation project using a State Model, I will happily share my code in due course