-
Notifications
You must be signed in to change notification settings - Fork 0
/
code.c
29 lines (21 loc) · 591 Bytes
/
code.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <Blynk.h>
#include <BlynkSimpleStream.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
#define BLYNK_TEMPLATE_ID "TMPL2MolblP39"
#define BLYNK_TEMPLATE_NAME "Project1"
#define BLYNK_AUTH_TOKEN "LA1ff03XJbkyMGxTiM-CBHE_XvJk8HF6"
char auth[] = "LA1ff03XJbkyMGxTiM-CBHE_XvJk8HF6";
void setup()
{
// Blynk will work through Serial
// Do not read or write this serial manually in your sketch
Serial.begin(9600);
Blynk.begin(Serial, auth);
}
void loop()
{
Blynk.run();
}
//designed by Mahmoud Kordy