Hippy,
I have given your corrected code a try. Result of this action is still "Unrecognised request".
I noticed further that the original sketch on the website https://www.raspberrypi.com/news/how-to ... pi-pico-w/ is now running OK here in Thonny, even without the additional line "stateis = "Unknown" " of Curt Timmerman.
During testing your code I have copied several times this original skecth, but copying from a box with colored text on a black background (as stated on that website), can sometimes come along unwanted (control)characters in the copy or maybe it must have been another cause. Therefore, it is always recommended to post a link to the original text without formatting. For that, the Raw button for copying textfiles is available on Github.
If you like to modify your code, let me know and if the opportunity arises I may test that as well.
I have given your corrected code a try. Result of this action is still "Unrecognised request".
I noticed further that the original sketch on the website https://www.raspberrypi.com/news/how-to ... pi-pico-w/ is now running OK here in Thonny, even without the additional line "stateis = "Unknown" " of Curt Timmerman.
During testing your code I have copied several times this original skecth, but copying from a box with colored text on a black background (as stated on that website), can sometimes come along unwanted (control)characters in the copy or maybe it must have been another cause. Therefore, it is always recommended to post a link to the original text without formatting. For that, the Raw button for copying textfiles is available on Github.
If you like to modify your code, let me know and if the opportunity arises I may test that as well.
Statistics: Posted by user-10 — Sun Mar 23, 2025 11:40 am