Comment on page
The easiest way to configure Blynk is to use
It has multiple parameters for different hardware models and it also depends on the type of connection. Follow the example sketches for your specific hardware model.
What happens inside of
- 1.Connection to the network (WiFi, Ethernet, ...)
- 2.Call of
Blynk.config(...)to set Auth Token, Server Address, etc.
- 3.Attempts to connect to the server once (can block for more than 30s)
config()allows you to manage network connection. You can set up your connection type (WiFi, Ethernet, ...) by yourself, and then call:
Blynk.config(auth, server, port);
Blynk.config(...)is called, your hardware is not yet connected to the server. It will try to connect while until it hits first instance of
Blynk.connect()routine. To skip connecting to the server or to disconnect manually, call
connectWiFito conveniently set up WiFi connection:
To connect to open WiFi networks, set pass to an empty string (
Last modified 27d ago