Quantcast
Viewing all articles
Browse latest Browse all 4887

MicroPython • Re: (first project) stupidest code not working (webserver + servo)

But when I try to put them together, it works but not consistently. After one execution I need to Stop/Restart backend in Thonny and often I have no recourse than physically disconnecting the board to hard reboot.
Perhaps put more 'print' statements in there so you can see exactly where the code is going, what it's doing, where it stops.

This is yet another case of code which doesn't return HTTP reply headers when by rights it should. This seems to be the culprit -

https://projects.raspberrypi.org/en/projects/get-started-pico-w/5

Maybe someone could get that fixed because it seems many people are simply copying that.

We really need some properly designed, tested and debugged, 'robust reference designs' for wireless operation.

Statistics: Posted by hippy — Mon Jan 22, 2024 11:22 am



Viewing all articles
Browse latest Browse all 4887

Trending Articles