Good to know, so a pc python webclient can get live data from picoW webserver, so all the variables ( with values retrieved from the picoW ) can then be seen in Thonny variables sidebar while debugging or having a long sleep/dummy input to let us look at the variables at the moment where it might be going wrong. and the webclient can do that for many picoW ...
Very helpful. If you are going to debug the code on the computer, VSCode seems to offer more robust debugging options than Thonny - but maybe I just like VSCode better. Thanks for the tips.
Good morning georgesomaru8973, I am assuming you are new to computer programming and thus your first experience with it... I have a lot of examples on this channel showing how to work with sensors and I often walk the viewer through the test code explaining each line. This can be helpful to understand the "workings" of a program. However it is somewhat difficult if you don't have a fundamental understanding of programming. Because of this, I am considering starting a new series on the channel for people just like you. As it is still a fermenting idea, nothing is 100% yet but I am working towards this concept for teaching the basics Using PICO and Thonny (I like it and it is very affordable for everyone) Focus on using MicroPython (the micro controller subset language) Start with the requirement of a person wants to learn but knows NOTHING Cover concepts of what is needed to make a program function Cover concepts of how a program solves problems Build up the programming knowledge in small steps : frequently used "simple" functions that are used in almost ALL programs. I would certainly love to hear your feedback about this idea! Cheers! Chris
Hi Chris, my script starts with "from machine import Pin, Timer". When I try to debug, the first thing Ï get is an error: "machine not found". My Pico is engaged. What can I do? Regards, Rob
Good morning Robavhtube I never recall experiencing that so I asked Google and found some answers but they varied greatly. Unfortunately I don't have an answer at the moment to offer. When I get in the workshop this weekend if I have time I will try a few things that I think could cause that and if I find anything I will share it. Cheers! Chris
Excellent! Just what I needed. Thank you very much Chris.
Glad it was helpful!
Cheers!
Chris
Good to know, so a pc python webclient can get live data from picoW webserver,
so all the variables ( with values retrieved from the picoW ) can then be seen in Thonny variables sidebar while debugging
or having a long sleep/dummy input to let us look at the variables at the moment where it might be going wrong.
and the webclient can do that for many picoW ...
Thanks for the very well done video! Cheers from Canada!
Hello mlongval, welcome.
Glad you enjoyed it!
Cheers!
Chris
Very helpful. If you are going to debug the code on the computer, VSCode seems to offer more robust debugging options than Thonny - but maybe I just like VSCode better. Thanks for the tips.
I am sure VSCode is far more capable, but these nice features surprised me in Thonny which is promoted as a basic IDE. Cheers! Chris
Thanks Chris, another good one!
Glad you enjoyed it
Cheers!
Chris
What's a good resource for learning Python on Thonny?
Good morning georgesomaru8973,
I am assuming you are new to computer programming and thus your first experience with it...
I have a lot of examples on this channel showing how to work with sensors and I often walk the viewer through the test code explaining each line. This can be helpful to understand the "workings" of a program. However it is somewhat difficult if you don't have a fundamental understanding of programming.
Because of this, I am considering starting a new series on the channel for people just like you. As it is still a fermenting idea, nothing is 100% yet but I am working towards this concept for teaching the basics
Using PICO and Thonny (I like it and it is very affordable for everyone)
Focus on using MicroPython (the micro controller subset language)
Start with the requirement of a person wants to learn but knows NOTHING
Cover concepts of what is needed to make a program function
Cover concepts of how a program solves problems
Build up the programming knowledge in small steps : frequently used "simple" functions that are used in almost ALL programs.
I would certainly love to hear your feedback about this idea!
Cheers!
Chris
Hi Chris, my script starts with "from machine import Pin, Timer". When I try to debug, the first thing Ï get is an error: "machine not found". My Pico is engaged. What can I do? Regards, Rob
Good morning Robavhtube
I never recall experiencing that so I asked Google and found some answers but they varied greatly. Unfortunately I don't have an answer at the moment to offer. When I get in the workshop this weekend if I have time I will try a few things that I think could cause that and if I find anything I will share it.
Cheers!
Chris
Thanks a lot, Chris, also for the quick answer.