I see the example program already connected wifi network. How to use mqtt and webserver function? Because of the wifi object has been used.
How to use the following object after embed mDash core?
Any example for reference?
mDash is just a library, so use it like any other library.
Think about that the other way around.
Build your sketch using WiFiClient and PubSubClient.
Then, add mDash to it - that could be done by sticking a single line with
mDashStart() call into a right place.
Does that make sense?