/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YOUR-BLYNK-AUTH";
// Your WiFi credentials.
char ssid[] = "WiFi-SSID";
char pass[] = "WiFi-PASSWORD";
void setup()
{
// Debug console
Serial.begin(9600);
//Blynk.begin(auth, ssid, pass);
Blynk.begin(auth, ssid, pass,"blynk.jpnet.co.th",8080);
Blynk.syncAll();
}
void loop()
{
Blynk.run();
}
Blynk Platform ถูกออกแบบมาเพื่อใช้ในการควบคุมอุปกรณ์ Internet of Things ซึ่งมีคุณสมบัติในการควบคุมจากระยะไกลผ่านเครือข่ายอินเตอร์เน็ต และยังสามารถแสดงผลค่าจากเซนเซอร์ต่างๆ ได้อีกด้วย