Re: Serial communication problem
Phil <[email protected]>
| Newsgroups | gmane.comp.python.tutor |
|---|---|
| Message-ID | <[email protected]> |
On 13/12/23 13:58, Cameron Simpson wrote: > Is there any reason for any of the reads to be nonblocking? Personally > I find blocking reads easier to reason about. No real reason Cameron, and thank you for mentioning it, other than non-blocking reads have always worked, providing there's only one in an infinite loop. The dashboard code uses what could be described as a semi-blocking read; it blocks for a preset time. This is useful because the same pico code can be used with it's own display and with or without a serial a connection. -- Regards, Phil _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor