File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ char password[] = "yyyyyyyy"; // your network key
19
19
const int ledPin = 13 ;
20
20
21
21
// Initialize Telegram BOT
22
- #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get off Botfather)
22
+ #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get from Botfather)
23
23
24
24
WiFiSSLClient client;
25
25
UniversalTelegramBot bot (BOTtoken, client);
@@ -87,7 +87,7 @@ void setup() {
87
87
88
88
pinMode (ledPin, OUTPUT); // initialize digital ledPin as an output.
89
89
delay (10 );
90
- digitalWrite (ledPin, HIGH); // initilase pin as off
90
+ digitalWrite (ledPin, HIGH); // initialize pin as off
91
91
92
92
}
93
93
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ char password[] = "yyyyyyyyy"; // your network key
19
19
20
20
21
21
// Initialize Telegram BOT
22
- #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get off Botfather)
22
+ #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get from Botfather)
23
23
24
24
WiFiSSLClient client;
25
25
UniversalTelegramBot bot (BOTtoken, client);
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ char password[] = "yyyyyyyy"; // your network key
20
20
const int ledPin = 13 ;
21
21
22
22
// Initialize Telegram BOT
23
- #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get off Botfather)
23
+ #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get from Botfather)
24
24
25
25
WiFiSSLClient client;
26
26
UniversalTelegramBot bot (BOTtoken, client);s
@@ -84,7 +84,7 @@ void setup() {
84
84
85
85
pinMode (ledPin, OUTPUT); // initialize digital ledPin as an output.
86
86
delay (10 );
87
- digitalWrite (ledPin, LOW); // initilase pin as off
87
+ digitalWrite (ledPin, LOW); // initialize pin as off
88
88
89
89
}
90
90
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ char ssid[] = "xxxxxxx"; // your network SSID (name)
15
15
char password[] = " yyyyyyyy" ; // your network key
16
16
17
17
// Initialize Telegram BOT
18
- #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get off Botfather)
18
+ #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get from Botfather)
19
19
20
20
WiFiClientSecure client;
21
21
UniversalTelegramBot bot (BOTtoken, client);
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ char password[] = "yyyyyyyy"; // your network key
19
19
const int ledPin = 13 ;
20
20
21
21
// Initialize Telegram BOT
22
- #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get off Botfather)
22
+ #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get from Botfather)
23
23
24
24
WiFiClientSecure client;
25
25
UniversalTelegramBot bot (BOTtoken, client);
@@ -92,7 +92,7 @@ void setup() {
92
92
93
93
pinMode (ledPin, OUTPUT); // initialize digital ledPin as an output.
94
94
delay (10 );
95
- digitalWrite (ledPin, HIGH); // initilase pin as off
95
+ digitalWrite (ledPin, HIGH); // initialize pin as off
96
96
97
97
}
98
98
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ char password[] = "yyyyyyyyy"; // your network key
18
18
19
19
20
20
// Initialize Telegram BOT
21
- #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get off Botfather)
21
+ #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get from Botfather)
22
22
23
23
WiFiClientSecure client;
24
24
UniversalTelegramBot bot (BOTtoken, client);
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ char password[] = "yyyyyyyy"; // your network key
20
20
const int ledPin = 13 ;
21
21
22
22
// Initialize Telegram BOT
23
- #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get off Botfather)
23
+ #define BOTtoken " XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" // your Bot Token (Get from Botfather)
24
24
25
25
WiFiClientSecure client;
26
26
UniversalTelegramBot bot (BOTtoken, client);
@@ -89,7 +89,7 @@ void setup() {
89
89
90
90
pinMode (ledPin, OUTPUT); // initialize digital ledPin as an output.
91
91
delay (10 );
92
- digitalWrite (ledPin, LOW); // initilase pin as off
92
+ digitalWrite (ledPin, LOW); // initialize pin as off
93
93
94
94
}
95
95
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ void setup() {
95
95
pinMode (resetConfigPin, INPUT);
96
96
pinMode (ledPin, OUTPUT); // initialize digital ledPin as an output.
97
97
delay (10 );
98
- digitalWrite (ledPin, LOW); // initilase pin as off
98
+ digitalWrite (ledPin, LOW); // initialize pin as off
99
99
100
100
Serial.println (" read bot token" );
101
101
readBotTokenFromEeprom (0 );
You can’t perform that action at this time.
0 commit comments