As per 'Lazzerman' you need to pass your slider setting back to the Pico W. I guess that could be done by having a HTML form on your page with a 'submit' button or perhaps triggered on moving your slider.
To have something 'live' and interactive, so your lamp increases and decreases with brightness as the slider is moved, I think it's the 'REST API' you will need to be looking at. I have no experience of that nor any idea how it would be implemented on a Pico W in MicroPython. Google or a forum search might turn up examples of doing that.
To have something 'live' and interactive, so your lamp increases and decreases with brightness as the slider is moved, I think it's the 'REST API' you will need to be looking at. I have no experience of that nor any idea how it would be implemented on a Pico W in MicroPython. Google or a forum search might turn up examples of doing that.
Statistics: Posted by hippy — Wed Apr 03, 2024 1:29 pm