A new guide today in the Adafruit Learning System: Pico W HTTP Server with CircuitPython
You can setup an HTTP server with a Pico W running CircuitPython. This example sets a static IP address for the server, logs temperature readings from a DS18B20 temperature sensor, displays server information on an OLED and serves an HTML webpage with buttons that can send HTTP POST requests to toggle pins on the Pico W.
This project will show you how to build an HTTP server with CircuitPython with examples for sending and receiving data to and from the server. It also demonstrates how to pass HTML as an f string in the code.py file.
https://youtu.be/KLYujaG7E94
No comments:
Post a Comment