![]() |
Forum Index : Microcontroller and PC projects : PicoW Error
Author | Message | ||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1965 |
My PicoW is stopping with the error.... can someone tell me what is happening. A problem with WIFI ?? "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1965 |
I found this POST So it seems its related to having it connected to TeraTerm. I'll disconnect from TeraTerm and see how it goes. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2417 |
I have been using WebMite + TeraTerm for a long time and so far never had this issue. TassyJim's solution appears to have worked for OA47. Edit. Here is what works for me. Dim Key$ = "******your key here*****" Dim City$="****your location here***" ' location, country code Dim Q$="GET /data/2.5/weather?q="+City$+"&APPID="+Key$+Chr$(10)+Chr$(13) Dim buff%(4096/8) Dim float tempr WEB OPEN TCP CLIENT "api.openweathermap.org", 80 WEB TCP CLIENT REQUEST Q$, buff%() Pause 200 WEB CLOSE TCP CLIENT temp = Val(Json$(buff%(), "main.temp")) - 273 Print "Temperature in "+City$+" is:";temp;"C at ";DateTime$(now) Edited 2025-04-05 10:06 by phil99 |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1965 |
Thanks Phil but I was only using TeraTerm for debugging. I just left it on to report any errors which seem to come up on the attached display anyway. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6220 |
What CPU speed are you running at? High speeds seem to be a problem. With ~200 or lower I have no problems. Jim VK7JH MMedit |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1965 |
Jim, I always use 38400. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6220 |
CPU speed, not serial. OPTION CPUSPEED 133000 is the default I use OPTION CPUSPEED 200000 ie 200MHz VK7JH MMedit |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1965 |
Oh,OK didn't read your post properly, I am running at the default. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |