Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #88733
| From | Travis Griggs <travisgriggs@gmail.com> |
|---|---|
| Subject | Re: [SerialConnection] Help |
| Date | 2015-04-09 09:14 -0700 |
| References | <CAABAm7x4nuNwQ+31TR7qOFS=BhOjPV-weO=wzD1RoBcxVEj-Qg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.172.1428596110.12925.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
> On Apr 7, 2015, at 8:42 AM, Hugo Caldas <hcaldas92@gmail.com> wrote: > > read and write the port values with multi threading Care to elaborate what you mean by this part? In general, serial ports and multi threading don’t mix well. IOW, you’ll need to use multithreading pieces to make sure you serialize your access to your serial port. As other have pointed out, pyserial is the package you want. Documentation is pretty good. We use it a lot.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [SerialConnection] Help Travis Griggs <travisgriggs@gmail.com> - 2015-04-09 09:14 -0700 Re: [SerialConnection] Help Grant Edwards <invalid@invalid.invalid> - 2015-04-09 16:28 +0000
csiph-web