mirror of
https://github.com/lsdlsd88/JC4827W543.git
synced 2026-07-20 10:53:59 +01:00
initial commit
This commit is contained in:
+157
@@ -0,0 +1,157 @@
|
||||
/********************************************
|
||||
----深圳市晶彩智能有限公司----
|
||||
File name:40.WIFI Web Servers LED.ino
|
||||
Version:V2.0
|
||||
Illustrate:WIFI Web Servers Two-color LED light experiment
|
||||
********************************************/
|
||||
#include <WiFi.h>
|
||||
|
||||
// Enter the WIFI name and password that you can access to the Internet.
|
||||
//It is recommended to use an Android phone for web control to ensure that the ESP32 is in the same network.
|
||||
const char* ssid = "CMCC-404";
|
||||
const char* password = "12345678";
|
||||
|
||||
// Set the web server port number to 80
|
||||
WiFiServer server(80);
|
||||
|
||||
// Variable to store the HTTP request
|
||||
String header;
|
||||
|
||||
// Auxiliary variable for storing the current output state
|
||||
String output25State = "off";
|
||||
String output26State = "off";
|
||||
|
||||
// Assign output variables to GPIO pins
|
||||
const int output16 = 16;
|
||||
const int output17 = 17;
|
||||
|
||||
// Current time
|
||||
unsigned long currentTime = millis();
|
||||
// Previous time
|
||||
unsigned long previousTime = 0;
|
||||
// Define the timeout in milliseconds (eg: 2000ms = 2s)
|
||||
const long timeoutTime = 2000;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
// Initialize output variable to output
|
||||
pinMode(output16, OUTPUT);
|
||||
pinMode(output17, OUTPUT);
|
||||
// Set output to HIGH
|
||||
digitalWrite(output16, HIGH);
|
||||
digitalWrite(output17, HIGH);
|
||||
|
||||
// Connect to Wi-Fi network using SSID and password
|
||||
Serial.print("Connecting to ");
|
||||
Serial.println(ssid);
|
||||
WiFi.begin(ssid, password);
|
||||
while (WiFi.status() != WL_CONNECTED) {
|
||||
delay(500);
|
||||
Serial.print(".");
|
||||
}
|
||||
// Print the local IP address and start the web server
|
||||
Serial.println("");
|
||||
Serial.println("WiFi connected.");
|
||||
Serial.println("IP address: ");
|
||||
Serial.println(WiFi.localIP());
|
||||
server.begin();
|
||||
}
|
||||
|
||||
void loop(){
|
||||
WiFiClient client = server.available(); // Monitor clients
|
||||
|
||||
if (client) { // If a new client connects
|
||||
currentTime = millis();
|
||||
previousTime = currentTime;
|
||||
Serial.println("New Client."); // Print a message in the serial port
|
||||
String currentLine = ""; // Create a String to hold incoming data from the client
|
||||
while (client.connected() && currentTime - previousTime <= timeoutTime) { // Loop while client connects
|
||||
currentTime = millis();
|
||||
if (client.available()) { // If you want to read bytes from the client
|
||||
char c = client.read(); // Then read a byte
|
||||
Serial.write(c); // Print out on serial monitor
|
||||
header += c;
|
||||
if (c == '\n') { // If the byte is a newline
|
||||
// If the current line is empty, there are two newlines on a line.
|
||||
// This is the end of the client HTTP request, so send a response:
|
||||
if (currentLine.length() == 0) {
|
||||
// HTTP headers always start with a response code (e.g. HTTP/1.1 200 OK)
|
||||
// Then the content-type, so the client knows what to expect, followed by the empty line:
|
||||
client.println("HTTP/1.1 200 OK");
|
||||
client.println("Content-type:text/html");
|
||||
client.println("Connection: close");
|
||||
client.println();
|
||||
|
||||
// turn gpio on and off
|
||||
|
||||
if (header.indexOf("GET /16/on") >= 0) {
|
||||
Serial.println("GPIO 16 on");
|
||||
output25State = "on";
|
||||
digitalWrite(output16, LOW);
|
||||
} else if (header.indexOf("GET /16/off") >= 0) {
|
||||
Serial.println("GPIO 16 off");
|
||||
output25State = "off";
|
||||
digitalWrite(output16, HIGH);
|
||||
} else if (header.indexOf("GET /17/on") >= 0) {
|
||||
Serial.println("GPIO 17 on");
|
||||
output26State = "on";
|
||||
digitalWrite(output17, LOW);
|
||||
} else if (header.indexOf("GET /17/off") >= 0) {
|
||||
Serial.println("GPIO 17 off");
|
||||
output26State = "off";
|
||||
digitalWrite(output17, HIGH);
|
||||
}
|
||||
|
||||
// Display HTML pages
|
||||
client.println("<!DOCTYPE html><html>");
|
||||
client.println("<head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">");
|
||||
client.println("<link rel=\"icon\" href=\"data:,\">");
|
||||
// CSS to style the on/off button
|
||||
// Feel free to change the background color and font size properties to suit your preferences
|
||||
client.println("<style>html { font-family: Helvetica; display: inline-block; margin: 0px auto; text-align: center;}");
|
||||
client.println(".button { background-color: #4CAF50; border: none; color: white; padding: 16px 40px;");
|
||||
client.println("text-decoration: none; font-size: 30px; margin: 2px; cursor: pointer;}");
|
||||
client.println(".button2 {background-color: #555555;}</style></head>");
|
||||
|
||||
// Page title
|
||||
client.println("<body><h1>ESP32 Web Server LED </h1>");
|
||||
|
||||
// Display current status and ON/OFF button of GPIO 16
|
||||
client.println("<p>GREEN LED - State " + output25State + "</p>");
|
||||
// If output26State is off, show ON button
|
||||
if (output25State=="off") {
|
||||
client.println("<p><a href=\"/16/on\"><button class=\"button\">ON</button></a></p>");
|
||||
} else {
|
||||
client.println("<p><a href=\"/16/off\"><button class=\"button button2\">OFF</button></a></p>");
|
||||
}
|
||||
|
||||
// Display current status and ON/OFF button of GPIO 17
|
||||
client.println("<p> BLUE LED - State " + output26State + "</p>");
|
||||
// If output26State is off, show ON button
|
||||
if (output26State=="off") {
|
||||
client.println("<p><a href=\"/17/on\"><button class=\"button\">ON</button></a></p>");
|
||||
} else {
|
||||
client.println("<p><a href=\"/17/off\"><button class=\"button button2\">OFF</button></a></p>");
|
||||
}
|
||||
client.println("</body></html>");
|
||||
|
||||
// HTTP response ends with another blank line
|
||||
client.println();
|
||||
// Out of the while loop
|
||||
break;
|
||||
} else { // If you have a newline then clear currentLine
|
||||
currentLine = "";
|
||||
}
|
||||
} else if (c != '\r') { // If you get characters other than carriage return
|
||||
currentLine += c; // Add it to the end of currentLine
|
||||
}
|
||||
}
|
||||
}
|
||||
// Clear header variable
|
||||
header = "";
|
||||
// Close the connection
|
||||
client.stop();
|
||||
Serial.println("Client disconnected.");
|
||||
Serial.println("");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Started logging.
|
||||
2022/06/27 11:25:38 logging to c:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED\inols.log
|
||||
2022/06/27 11:25:38 Initial board configuration: {"ESP32 Dev Module" esp32:esp32:esp32}
|
||||
2022/06/27 11:25:38 Language server build path: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server193424583
|
||||
2022/06/27 11:25:38 Language server build sketch root: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server193424583\sketch
|
||||
2022/06/27 11:25:38 [92mIDE --> LS CL: REQUEST initialize 0: [0m
|
||||
2022/06/27 11:25:38 IDE --> initialize 0 [93m locked[0m
|
||||
2022/06/27 11:25:38 IDE --> initialize 0 [93m unlocked[0m
|
||||
2022/06/27 11:25:38 INIT--- initializing workbench
|
||||
2022/06/27 11:25:38 INIT--- [93m locked[0m
|
||||
2022/06/27 11:25:38 [91mIDE <-- LS CL: ANSWER UNBOUND (0): [0m
|
||||
2022/06/27 11:25:38 --> initialize(file:///c%3A/Users/zhang%27pei/Desktop/ESP32-2432S028%E4%BE%8B%E5%AD%90/arduino/Source%20code/4_8_WIFI%20Web%20Servers%20LED/WIFI%20Web%20Servers%20LED)
|
||||
2022/06/27 11:25:38 running: d:\arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe --config-file c:\Users\zhang'pei\.arduinoIDE\arduino-cli.yaml compile --fqbn esp32:esp32:esp32 --only-compilation-database --clean --source-override C:\Users\ZHANG'~1\AppData\Local\Temp\103513466 --build-path C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server193424583 --format json C:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED
|
||||
2022/06/27 11:25:38 [92mIDE --> LS CL: NOTIFICATION initialized: [0m
|
||||
2022/06/27 11:25:39 INIT--- initializing workbench (done)
|
||||
2022/06/27 11:25:39 INIT--- [93m unlocked[0m
|
||||
2022/06/27 11:25:39 IDE --> initialized notif1 [93m read-locked[0m
|
||||
2022/06/27 11:25:39 IDE --> initialized notif1 notification is not propagated to clangd
|
||||
2022/06/27 11:25:39 IDE --> initialized notif1 [93m read-unlocked[0m
|
||||
2022/06/27 11:25:39 [92mIDE --> LS CL: NOTIFICATION textDocument/didOpen: [0m
|
||||
2022/06/27 11:25:39 IDE --> textDocument/didOpen notif2 [93m locked[0m
|
||||
2022/06/27 11:25:39 IDE --> textDocument/didOpen notif2 (throttled: waiting for clangd)
|
||||
2022/06/27 11:25:39 IDE --> textDocument/didOpen notif2 [93m unlocked (waiting clangd)[0m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Started logging.
|
||||
2022/06/27 12:16:39 logging to c:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED\inols.log
|
||||
2022/06/27 12:16:39 Initial board configuration: {"ESP32 Dev Module" esp32:esp32:esp32}
|
||||
2022/06/27 12:16:39 Language server build path: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server122277471
|
||||
2022/06/27 12:16:39 Language server build sketch root: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server122277471\sketch
|
||||
2022/06/27 12:16:39 [92mIDE --> LS CL: REQUEST initialize 0: [0m
|
||||
2022/06/27 12:16:39 IDE --> initialize 0 [93m locked[0m
|
||||
2022/06/27 12:16:39 IDE --> initialize 0 [93m unlocked[0m
|
||||
2022/06/27 12:16:39 INIT--- initializing workbench
|
||||
2022/06/27 12:16:39 INIT--- [93m locked[0m
|
||||
2022/06/27 12:16:39 --> initialize(file:///c%3A/Users/zhang%27pei/Desktop/ESP32-2432S028%E4%BE%8B%E5%AD%90/arduino/Source%20code/4_8_WIFI%20Web%20Servers%20LED/WIFI%20Web%20Servers%20LED)
|
||||
2022/06/27 12:16:39 [91mIDE <-- LS CL: ANSWER UNBOUND (0): [0m
|
||||
2022/06/27 12:16:39 running: d:\arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe --config-file c:\Users\zhang'pei\.arduinoIDE\arduino-cli.yaml compile --fqbn esp32:esp32:esp32 --only-compilation-database --clean --source-override C:\Users\ZHANG'~1\AppData\Local\Temp\090164274 --build-path C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server122277471 --format json C:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED
|
||||
2022/06/27 12:16:39 [92mIDE --> LS CL: NOTIFICATION initialized: [0m
|
||||
2022/06/27 12:16:40 INIT--- initializing workbench (done)
|
||||
2022/06/27 12:16:40 INIT--- [93m unlocked[0m
|
||||
2022/06/27 12:16:40 IDE --> initialized notif1 [93m read-locked[0m
|
||||
2022/06/27 12:16:40 IDE --> initialized notif1 notification is not propagated to clangd
|
||||
2022/06/27 12:16:40 IDE --> initialized notif1 [93m read-unlocked[0m
|
||||
2022/06/27 12:16:40 [92mIDE --> LS CL: NOTIFICATION textDocument/didOpen: [0m
|
||||
2022/06/27 12:16:40 IDE --> textDocument/didOpen notif2 [93m locked[0m
|
||||
2022/06/27 12:16:40 IDE --> textDocument/didOpen notif2 (throttled: waiting for clangd)
|
||||
2022/06/27 12:16:40 IDE --> textDocument/didOpen notif2 [93m unlocked (waiting clangd)[0m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Started logging.
|
||||
2022/06/27 12:22:35 logging to c:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED\inols.log
|
||||
2022/06/27 12:22:35 Initial board configuration: {"ESP32 Dev Module" esp32:esp32:esp32}
|
||||
2022/06/27 12:22:35 Language server build path: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server719995719
|
||||
2022/06/27 12:22:35 Language server build sketch root: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server719995719\sketch
|
||||
2022/06/27 12:22:35 [92mIDE --> LS CL: REQUEST initialize 0: [0m
|
||||
2022/06/27 12:22:35 IDE --> initialize 0 [93m locked[0m
|
||||
2022/06/27 12:22:35 IDE --> initialize 0 [93m unlocked[0m
|
||||
2022/06/27 12:22:35 INIT--- initializing workbench
|
||||
2022/06/27 12:22:35 INIT--- [93m locked[0m
|
||||
2022/06/27 12:22:35 --> initialize(file:///c%3A/Users/zhang%27pei/Desktop/ESP32-2432S028%E4%BE%8B%E5%AD%90/arduino/Source%20code/4_8_WIFI%20Web%20Servers%20LED/WIFI%20Web%20Servers%20LED)
|
||||
2022/06/27 12:22:35 [91mIDE <-- LS CL: ANSWER UNBOUND (0): [0m
|
||||
2022/06/27 12:22:35 running: d:\arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe --config-file c:\Users\zhang'pei\.arduinoIDE\arduino-cli.yaml compile --fqbn esp32:esp32:esp32 --only-compilation-database --clean --source-override C:\Users\ZHANG'~1\AppData\Local\Temp\602200570 --build-path C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server719995719 --format json C:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED
|
||||
2022/06/27 12:22:35 [92mIDE --> LS CL: NOTIFICATION initialized: [0m
|
||||
2022/06/27 12:22:36 INIT--- initializing workbench (done)
|
||||
2022/06/27 12:22:36 INIT--- [93m unlocked[0m
|
||||
2022/06/27 12:22:36 IDE --> initialized notif1 [93m read-locked[0m
|
||||
2022/06/27 12:22:36 IDE --> initialized notif1 notification is not propagated to clangd
|
||||
2022/06/27 12:22:36 IDE --> initialized notif1 [93m read-unlocked[0m
|
||||
2022/06/27 12:22:36 [92mIDE --> LS CL: NOTIFICATION textDocument/didOpen: [0m
|
||||
2022/06/27 12:22:36 IDE --> textDocument/didOpen notif2 [93m locked[0m
|
||||
2022/06/27 12:22:36 IDE --> textDocument/didOpen notif2 (throttled: waiting for clangd)
|
||||
2022/06/27 12:22:36 IDE --> textDocument/didOpen notif2 [93m unlocked (waiting clangd)[0m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Started logging.
|
||||
2022/06/27 12:30:02 logging to c:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED\inols.log
|
||||
2022/06/27 12:30:02 Initial board configuration: {"ESP32 Dev Module" esp32:esp32:esp32}
|
||||
2022/06/27 12:30:02 Language server build path: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server716751063
|
||||
2022/06/27 12:30:02 Language server build sketch root: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server716751063\sketch
|
||||
2022/06/27 12:30:02 [92mIDE --> LS CL: REQUEST initialize 0: [0m
|
||||
2022/06/27 12:30:02 IDE --> initialize 0 [93m locked[0m
|
||||
2022/06/27 12:30:02 IDE --> initialize 0 [93m unlocked[0m
|
||||
2022/06/27 12:30:02 INIT--- initializing workbench
|
||||
2022/06/27 12:30:02 INIT--- [93m locked[0m
|
||||
2022/06/27 12:30:02 --> initialize(file:///c%3A/Users/zhang%27pei/Desktop/ESP32-2432S028%E4%BE%8B%E5%AD%90/arduino/Source%20code/4_8_WIFI%20Web%20Servers%20LED/WIFI%20Web%20Servers%20LED)
|
||||
2022/06/27 12:30:02 [91mIDE <-- LS CL: ANSWER UNBOUND (0): [0m
|
||||
2022/06/27 12:30:02 running: d:\arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe --config-file c:\Users\zhang'pei\.arduinoIDE\arduino-cli.yaml compile --fqbn esp32:esp32:esp32 --only-compilation-database --clean --source-override C:\Users\ZHANG'~1\AppData\Local\Temp\651496010 --build-path C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server716751063 --format json C:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED
|
||||
2022/06/27 12:30:02 [92mIDE --> LS CL: NOTIFICATION initialized: [0m
|
||||
2022/06/27 12:30:04 INIT--- initializing workbench (done)
|
||||
2022/06/27 12:30:04 INIT--- [93m unlocked[0m
|
||||
2022/06/27 12:30:04 IDE --> initialized notif1 [93m read-locked[0m
|
||||
2022/06/27 12:30:04 IDE --> initialized notif1 notification is not propagated to clangd
|
||||
2022/06/27 12:30:04 IDE --> initialized notif1 [93m read-unlocked[0m
|
||||
2022/06/27 12:30:04 [92mIDE --> LS CL: NOTIFICATION textDocument/didOpen: [0m
|
||||
2022/06/27 12:30:04 IDE --> textDocument/didOpen notif2 [93m locked[0m
|
||||
2022/06/27 12:30:04 IDE --> textDocument/didOpen notif2 (throttled: waiting for clangd)
|
||||
2022/06/27 12:30:04 IDE --> textDocument/didOpen notif2 [93m unlocked (waiting clangd)[0m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Started logging.
|
||||
2022/06/27 14:14:51 logging to c:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED\inols.log
|
||||
2022/06/27 14:14:51 Initial board configuration: {"ESP32 Dev Module" esp32:esp32:esp32}
|
||||
2022/06/27 14:14:51 Language server build path: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server468191379
|
||||
2022/06/27 14:14:51 Language server build sketch root: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server468191379\sketch
|
||||
2022/06/27 14:14:51 [92mIDE --> LS CL: REQUEST initialize 0: [0m
|
||||
2022/06/27 14:14:51 IDE --> initialize 0 [93m locked[0m
|
||||
2022/06/27 14:14:51 IDE --> initialize 0 [93m unlocked[0m
|
||||
2022/06/27 14:14:51 INIT--- initializing workbench
|
||||
2022/06/27 14:14:51 INIT--- [93m locked[0m
|
||||
2022/06/27 14:14:51 --> initialize(file:///c%3A/Users/zhang%27pei/Desktop/ESP32-2432S028%E4%BE%8B%E5%AD%90/arduino/Source%20code/4_8_WIFI%20Web%20Servers%20LED/WIFI%20Web%20Servers%20LED)
|
||||
2022/06/27 14:14:51 [91mIDE <-- LS CL: ANSWER UNBOUND (0): [0m
|
||||
2022/06/27 14:14:51 running: d:\arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe --config-file c:\Users\zhang'pei\.arduinoIDE\arduino-cli.yaml compile --fqbn esp32:esp32:esp32 --only-compilation-database --clean --source-override C:\Users\ZHANG'~1\AppData\Local\Temp\043109590 --build-path C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server468191379 --format json C:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED
|
||||
2022/06/27 14:14:51 [92mIDE --> LS CL: NOTIFICATION initialized: [0m
|
||||
2022/06/27 14:14:52 INIT--- initializing workbench (done)
|
||||
2022/06/27 14:14:52 INIT--- [93m unlocked[0m
|
||||
2022/06/27 14:14:52 IDE --> initialized notif1 [93m read-locked[0m
|
||||
2022/06/27 14:14:52 IDE --> initialized notif1 notification is not propagated to clangd
|
||||
2022/06/27 14:14:52 IDE --> initialized notif1 [93m read-unlocked[0m
|
||||
2022/06/27 14:14:52 [92mIDE --> LS CL: NOTIFICATION textDocument/didOpen: [0m
|
||||
2022/06/27 14:14:52 IDE --> textDocument/didOpen notif2 [93m locked[0m
|
||||
2022/06/27 14:14:52 IDE --> textDocument/didOpen notif2 (throttled: waiting for clangd)
|
||||
2022/06/27 14:14:52 IDE --> textDocument/didOpen notif2 [93m unlocked (waiting clangd)[0m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Started logging.
|
||||
2022/06/27 15:03:52 logging to c:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED\inols.log
|
||||
2022/06/27 15:03:52 Initial board configuration: {"ESP32 Dev Module" esp32:esp32:esp32}
|
||||
2022/06/27 15:03:52 Language server build path: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server616939203
|
||||
2022/06/27 15:03:52 Language server build sketch root: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server616939203\sketch
|
||||
2022/06/27 15:03:52 [92mIDE --> LS CL: REQUEST initialize 0: [0m
|
||||
2022/06/27 15:03:52 IDE --> initialize 0 [93m locked[0m
|
||||
2022/06/27 15:03:52 IDE --> initialize 0 [93m unlocked[0m
|
||||
2022/06/27 15:03:52 INIT--- initializing workbench
|
||||
2022/06/27 15:03:52 INIT--- [93m locked[0m
|
||||
2022/06/27 15:03:52 [91mIDE <-- LS CL: ANSWER UNBOUND (0): [0m
|
||||
2022/06/27 15:03:52 --> initialize(file:///c%3A/Users/zhang%27pei/Desktop/ESP32-2432S028%E4%BE%8B%E5%AD%90/arduino/Source%20code/4_8_WIFI%20Web%20Servers%20LED/WIFI%20Web%20Servers%20LED)
|
||||
2022/06/27 15:03:52 running: d:\arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe --config-file c:\Users\zhang'pei\.arduinoIDE\arduino-cli.yaml compile --fqbn esp32:esp32:esp32 --only-compilation-database --clean --source-override C:\Users\ZHANG'~1\AppData\Local\Temp\614207302 --build-path C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server616939203 --format json C:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED
|
||||
2022/06/27 15:03:52 [92mIDE --> LS CL: NOTIFICATION initialized: [0m
|
||||
2022/06/27 15:03:53 INIT--- initializing workbench (done)
|
||||
2022/06/27 15:03:53 INIT--- [93m unlocked[0m
|
||||
2022/06/27 15:03:53 IDE --> initialized notif1 [93m read-locked[0m
|
||||
2022/06/27 15:03:53 IDE --> initialized notif1 notification is not propagated to clangd
|
||||
2022/06/27 15:03:53 IDE --> initialized notif1 [93m read-unlocked[0m
|
||||
2022/06/27 15:03:53 [92mIDE --> LS CL: NOTIFICATION textDocument/didOpen: [0m
|
||||
2022/06/27 15:03:53 IDE --> textDocument/didOpen notif2 [93m locked[0m
|
||||
2022/06/27 15:03:53 IDE --> textDocument/didOpen notif2 (throttled: waiting for clangd)
|
||||
2022/06/27 15:03:53 IDE --> textDocument/didOpen notif2 [93m unlocked (waiting clangd)[0m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Started logging.
|
||||
2022/06/28 10:43:04 logging to c:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED\inols.log
|
||||
2022/06/28 10:43:04 Initial board configuration: {"ESP32 Dev Module" esp32:esp32:esp32}
|
||||
2022/06/28 10:43:04 Language server build path: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server713063927
|
||||
2022/06/28 10:43:04 Language server build sketch root: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server713063927\sketch
|
||||
2022/06/28 10:43:04 [92mIDE --> LS CL: REQUEST initialize 0: [0m
|
||||
2022/06/28 10:43:04 IDE --> initialize 0 [93m locked[0m
|
||||
2022/06/28 10:43:04 IDE --> initialize 0 [93m unlocked[0m
|
||||
2022/06/28 10:43:04 INIT--- initializing workbench
|
||||
2022/06/28 10:43:04 INIT--- [93m locked[0m
|
||||
2022/06/28 10:43:04 [91mIDE <-- LS CL: ANSWER UNBOUND (0): [0m
|
||||
2022/06/28 10:43:04 --> initialize(file:///c%3A/Users/zhang%27pei/Desktop/ESP32-2432S028%E4%BE%8B%E5%AD%90/arduino/Source%20code/4_8_WIFI%20Web%20Servers%20LED/WIFI%20Web%20Servers%20LED)
|
||||
2022/06/28 10:43:04 running: d:\arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe --config-file c:\Users\zhang'pei\.arduinoIDE\arduino-cli.yaml compile --fqbn esp32:esp32:esp32 --only-compilation-database --clean --source-override C:\Users\ZHANG'~1\AppData\Local\Temp\743278826 --build-path C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server713063927 --format json C:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED
|
||||
2022/06/28 10:43:04 [92mIDE --> LS CL: NOTIFICATION initialized: [0m
|
||||
2022/06/28 10:43:05 INIT--- initializing workbench (done)
|
||||
2022/06/28 10:43:05 INIT--- [93m unlocked[0m
|
||||
2022/06/28 10:43:05 IDE --> initialized notif1 [93m read-locked[0m
|
||||
2022/06/28 10:43:05 IDE --> initialized notif1 notification is not propagated to clangd
|
||||
2022/06/28 10:43:05 IDE --> initialized notif1 [93m read-unlocked[0m
|
||||
2022/06/28 10:43:05 [92mIDE --> LS CL: NOTIFICATION textDocument/didOpen: [0m
|
||||
2022/06/28 10:43:05 IDE --> textDocument/didOpen notif2 [93m locked[0m
|
||||
2022/06/28 10:43:05 IDE --> textDocument/didOpen notif2 (throttled: waiting for clangd)
|
||||
2022/06/28 10:43:05 IDE --> textDocument/didOpen notif2 [93m unlocked (waiting clangd)[0m
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Started logging.
|
||||
2022/06/28 10:44:03 logging to c:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED\inols.log
|
||||
2022/06/28 10:44:03 Initial board configuration: {"ESP32 Dev Module" esp32:esp32:esp32}
|
||||
2022/06/28 10:44:03 Language server build path: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server286746067
|
||||
2022/06/28 10:44:03 Language server build sketch root: C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server286746067\sketch
|
||||
2022/06/28 10:44:03 [92mIDE --> LS CL: REQUEST initialize 0: [0m
|
||||
2022/06/28 10:44:03 IDE --> initialize 0 [93m locked[0m
|
||||
2022/06/28 10:44:03 IDE --> initialize 0 [93m unlocked[0m
|
||||
2022/06/28 10:44:03 INIT--- initializing workbench
|
||||
2022/06/28 10:44:03 INIT--- [93m locked[0m
|
||||
2022/06/28 10:44:03 --> initialize(file:///c%3A/Users/zhang%27pei/Desktop/ESP32-2432S028%E4%BE%8B%E5%AD%90/arduino/Source%20code/4_8_WIFI%20Web%20Servers%20LED/WIFI%20Web%20Servers%20LED)
|
||||
2022/06/28 10:44:03 [91mIDE <-- LS CL: ANSWER UNBOUND (0): [0m
|
||||
2022/06/28 10:44:03 running: d:\arduino\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe --config-file c:\Users\zhang'pei\.arduinoIDE\arduino-cli.yaml compile --fqbn esp32:esp32:esp32 --only-compilation-database --clean --source-override C:\Users\ZHANG'~1\AppData\Local\Temp\424940822 --build-path C:\Users\zhang'pei\AppData\Local\Temp\arduino-language-server286746067 --format json C:\Users\zhang'pei\Desktop\ESP32-2432S028例子\arduino\Source code\4_8_WIFI Web Servers LED\WIFI Web Servers LED
|
||||
2022/06/28 10:44:03 [92mIDE --> LS CL: NOTIFICATION initialized: [0m
|
||||
2022/06/28 10:44:05 INIT--- initializing workbench (done)
|
||||
2022/06/28 10:44:05 INIT--- [93m unlocked[0m
|
||||
2022/06/28 10:44:05 IDE --> initialized notif1 [93m read-locked[0m
|
||||
2022/06/28 10:44:05 IDE --> initialized notif1 notification is not propagated to clangd
|
||||
2022/06/28 10:44:05 IDE --> initialized notif1 [93m read-unlocked[0m
|
||||
2022/06/28 10:44:05 [92mIDE --> LS CL: NOTIFICATION textDocument/didOpen: [0m
|
||||
2022/06/28 10:44:05 IDE --> textDocument/didOpen notif2 [93m locked[0m
|
||||
2022/06/28 10:44:05 IDE --> textDocument/didOpen notif2 (throttled: waiting for clangd)
|
||||
2022/06/28 10:44:05 IDE --> textDocument/didOpen notif2 [93m unlocked (waiting clangd)[0m
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user