13/01/2020
BLYNK_PRINT Serial
ON LOW
OFF HIGH
char auth[] = " VK8eOixWE5gYsNF9-GZy9tm4cXmlUkcg"; //ลบตัวเดิมและใส่authที่Blynkส่งมาผ่านGMAIL//
char ssid[] = "";
char pass[] = "";
void setup()
{
pinMode (14,OUTPUT);
pinMode (12,OUTPUT);
pinMode (13,OUTPUT);
pinMode (15,OUTPUT);
digitalWrite (14,HIGH);
digitalWrite (12,HIGH);
digitalWrite (13,HIGH);
digitalWrite (15,HIGH);
Serial.begin(9600);
Blynk.begin(auth, "Smart fan3", "smartfan3"); //ลบตัวเดิมและใส่ชื่อ wifi ที่ใช้และรหัส wifi ที่ใช้//
}
void loop()
{
Blynk.run();
}