In today’s experiment, the illustration of the website is even more sophisticated. There are now also control elements that permit much more comfortable control of the LED.

So schließen Sie eine Batterie an den heutigen Versuchsaufbau an
The 9V-batterie powers the board

The structure of today’s experiment is no different from yesterday’s: An LED at pin D9, which can be controlled via the module. As an additional component, today’s door once again holds a resistor with 1 kΩ. If necessary, you can now reduce the brightness of an LED by switching two resistors in series.

The program: Day13_TCPServerProgmen

Today’s program saves the website a little differently from the preceding one. While the simple website was contained in the source text yesterday, the page is saved in a Progmem variable this time. This relieves the board’s SRAM and permits more complex display of websites. However, you are losing some overview of the page.

Die Webseite des Webservers
The website

You can, however, view the HTML file in the Sketch folder and change it as required. By having the website converted to bytes on the website

tools.thebuzzmedia.com/bytechar
and entering these into the program variable, you can generate a new website for your web server.

Die Umwandlung auf der Buzz Media Seite
The convertion on the Buzz Media Page