Blynk example

Posted in: Tutorials
By RobotDyn Support
More from this author

Blynk example

Blynk is a platform with iOS and Android apps to control Mega ETH and other popular microcontrollers over the Internet. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets.

Blynk library is licensed under MIT license This example code is in public domain.

You’ll need:

  • Blynk App (download from AppStore or Google Play)
  • RobotDyn Mega ETH board
#include <SPI.h>
#include <Ethernet3.h>
#include <BlynkSimpleEthernet2.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

void setup()
  // Debug console

  // You can also specify server:
  //Blynk.begin(auth, "", 80);
  //Blynk.begin(auth, IPAddress(192,168,1,100), 8080);

void loop()
  // You can inject your own code or combine it with other sketches.
  // Check other examples on how to communicate with Blynk. Remember
  // to avoid delay() function!
November 7, 2019