Difference: WEBServerPicoweb (3 vs. 4)

Revision 42020-06-04 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="InternetAccess"

A WEB Server on the ESP32

A "Hello World!" WEB server

Line: 17 to 17
  The server then starts listening for an incoming connection request and establishes a connection by accepting it.

Changed:
<
<
s.listen(5) print("Starting the Hello World WEB server on IP address ",ipaddr,"port 80")
while True:
conn,addr=s.accept() print("GOT a connection from %s" % str(addr))
>
>
s.listen(5)
print("Starting the Hello World WEB server on IP address ",ipaddr,"port 80")
while True:
conn,addr=s.accept() print("GOT a connection from %s" % str(addr))
  Finally it reads an http request from the connection and answers with its Hello World page:

Line: 50 to 50
  Before looking at how to display the SHT30 measurements on our WEB server let's first try to give WEB control to the user LED on the ESP32 CPU board. We want to create a WEB page allowing to switch this LED on and off.
Changed:
<
<
We will start off with the light bulb example from the introduction in this tutorial replacing the light bulb with a blue LED (simulating the LED on the ESP32 CPU board.
>
>
We will start off with the light bulb example from the introduction in this tutorial, replacing the light bulb with a blue LED (simulating the LED on the ESP32 CPU board.
  dummyLED.png
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback