Can you provide the sketch.It will be highly appreciated.
Can you provide the sketch.It will be highly appreciated.
Explore... Chat... Share...
trendchaster wrote:Hello Anand Lobo,
Can you provide the sketch.It will be highly appreciated.
zeroK wrote:When you create a telnetServer you can use the printDebug as shown belowCode: Select allconst uint16_t aport = 8266;
WiFiServer TelnetServer(aport);
WiFiClient Telnet;
void printDebug(const char* c){
//Prints to telnet if connected
Serial.println(c);
if (Telnet && Telnet.connected()){
Telnet.println(c);
}
}
Arduino: 1.6.6 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (1M SPIFFS)"
if (Telnet && Telnet.connected()) {
^
exit status 1
'Telnet' was not declared in this scope
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]