For this week's assignment, i followed Tom's example and try to control LED's brightness with a web slider.
Here is my code link
At the same time, I received the SSD306 screen I purchased this week. And I used the ESP8266 board and the Arduino Nano 33 IoT to display the temperature and humidity datas detected from the DHT 11.
Since I simply set to refresh the entire interface every second to get the data, instead of only partially updating the values, the interface does not look very smooth. At the same time, the data on the web side is delayed compared to the data on the display.