modified: src/main.cpp
This commit is contained in:
parent
5f1b5be29f
commit
06f388fd6d
@ -5,9 +5,9 @@
|
|||||||
#include <WiFiServer.h>
|
#include <WiFiServer.h>
|
||||||
|
|
||||||
#define relay 0
|
#define relay 0
|
||||||
int ledPin = 2;
|
#define ledPin 2
|
||||||
int UdpbeginPacketTest;
|
int udpBeginPacketTest;
|
||||||
int UdpendPacketTest;
|
int udpEndPacketTest;
|
||||||
int digitalStatus;
|
int digitalStatus;
|
||||||
|
|
||||||
WiFiUDP Udp;
|
WiFiUDP Udp;
|
||||||
@ -300,6 +300,8 @@ void loop(){
|
|||||||
}
|
}
|
||||||
// TODO: Implement web server functionality
|
// TODO: Implement web server functionality
|
||||||
// if(server.hasClient()){ // Check if there is a client connected
|
// if(server.hasClient()){ // Check if there is a client connected
|
||||||
|
// Serial.println("Client connected to web server.");
|
||||||
|
// server.setNoDelay(true); // Disable Nagle's algorithm for low latency
|
||||||
// WiFiClient client = server.available();
|
// WiFiClient client = server.available();
|
||||||
// if(client){
|
// if(client){
|
||||||
// Serial.println("New client connected.");
|
// Serial.println("New client connected.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user