Re: SEROUT loop with pause
Completely unnecessary, just like it is with python on the PC.
Re: SEROUT loop with pause
Ok thanks. Yeah, I can't remember but it may have been a VB.net program that I needed to slow down the loop to keep it from hogging the cpu. I have the python script reading the PIC, so I may take out the pause I have there also and see. The python serial input command I think just sits there and waits anyway for valid data.
Re: SEROUT loop with pause
On multi core / multi threaded CPU and programs commands like "PAUSE" and "SLEEP" etc usually releases "control" of the CPU so that that other process/threads can gain access to it for the durations of the "sleep".
With PBP that's simply not the case, PAUSE (just like almost all PBP commands) are blocking. In your case, the purpose of the PAUSE would be to "pace" the output, there's no other benefit or "good practice".