Blynk works with hundreds of hardware models and connection types. We prepared Blynk Examples Sketch Builder that allows you to create example code for your hardware.
⚙️ Find a full list of all supported hardware here
☝️ Before moving forward, make sure you have Blynk Library properly installed.
Find the example code for your hardware
- Choose your board
- Choose your Connection (WiFi, Ethernet, Bluetooth, USB...)
- Browse through examples and choose the one you need
- Sketch Builder will create a sketch for you.
- Copy the whole code and paste it to Arduino IDE
Input your Auth Token
In the example sketch find the line:
char auth = "YourAuthToken";
Change it with your own Auth Token (it should be in your email inbox after you created the Project in the Blynk app.
Now this line should look similar to this:
char auth = "53e4da8793764b6197fc44a673ce4e21";
🔥 Flash the example code to your hardware