George Kartsonas
Published

Industruino

Cost effective and highly reliable industrial automation solution using the power of Arduino.

IntermediateFull instructions provided2 hours13,386

Things used in this project

Story

Read more

Code

Arduino YUN Blynk Code

Arduino
#define BLYNK_PRINT Serial


#include <Bridge.h>
#include <BlynkSimpleYun.h>

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


void setup()
{
  // Debug console
  Serial.begin(9600);

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

void loop()
{
  Blynk.run();
}

Credits

George Kartsonas

George Kartsonas

19 projects • 46 followers

Comments