Good lesson. I failed the homework, but I did figure out where in the program I needed to insert some type of code. With this failure, I am motivated to started looking at the library codes to lead about pass and baton before I get it spoon fed to me. Thank you. I am learning, I am retaining knowledge and I am more motivated with each lesson.
Great video Paul! I could not tackle this lessons homework, as I had homework for my university class to do, but those are very subtle methods to cleanly terminate the program. The while loop is so simple....I didn't even think it was possible lol. Thanks
Thanks Paul! I just knew you had another way of releasing the thread which I had not seen before. I was trying delays and now I know why it is unpredictable and not practical/efficient... : ( In any case, taking this class is valuable and I'm looking forward to next week.
Thanks for another great lesson. Question: What if you wanted the (Servo) thread to stop immediately and terminate the thread on the kybd interrupt (I'm thinking along the lines of an "Emergency Stop" button)?
Paul, I have had my programing Pico W for a few days working fine . Then we had a storm and lost power and when I reconnected power. I had to reset the PICO W. It is still running in Thonny, not set as main.py without any battery backup other than the computer. Is there some way to stop the cores with a power loss?
This is a good lesson and easily understood and thus gives all another tool to use!
Thanks Paul .. Love the direction we are going in .
Good lesson. I failed the homework, but I did figure out where in the program I needed to insert some type of code. With this failure, I am motivated to started looking at the library codes to lead about pass and baton before I get it spoon fed to me. Thank you. I am learning, I am retaining knowledge and I am more motivated with each lesson.
Great video Paul! I could not tackle this lessons homework, as I had homework for my university class to do, but those are very subtle methods to cleanly terminate the program. The while loop is so simple....I didn't even think it was possible lol. Thanks
also where can i find documentation on the lock attribute of _thread?
Now I understand where my program was crashing. And ... with a bit of time will have both cores operating and stopping cleanly. Thanks
Thanks Paul! I just knew you had another way of releasing the thread which I had not seen before. I was trying delays and now I know why it is unpredictable and not practical/efficient... : (
In any case, taking this class is valuable and I'm looking forward to next week.
Fantastic!
Extraordinary.. ❤
Please come up with a tutorial series on F28379D delfino launchpad by texas instruments.
❤.. From India.
Thanks for another great lesson. Question: What if you wanted the (Servo) thread to stop immediately and terminate the thread on the kybd interrupt (I'm thinking along the lines of an "Emergency Stop" button)?
You need to get the running flag inside the for loop, and then if running goes to FALSE or 0, then break out of the for loop.
Powerful😀
Paul, I have had my programing Pico W for a few days working fine . Then we had a storm and lost power and when I reconnected power. I had to reset the PICO W. It is still running in Thonny, not set as main.py without any battery backup other than the computer. Is there some way to stop the cores with a power loss?
👍👍