Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44170

Re: Serial Port Issue

References <1366623248.70365.YahooMailClassic@web190503.mail.sg3.yahoo.com>
From Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Date 2013-04-22 17:31 +0200
Subject Re: Serial Port Issue
Newsgroups comp.lang.python
Message-ID <mailman.965.1366707799.3114.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Apr 22, 2013 at 11:34 AM, chandan kumar <chandan_psr@yahoo.co.in> wrote:
> Python Ver: 2.5

Old.  Please upgrade to 2.7.4 ASAP.

> ser=ser=serial.Serial(port=21,baudrate=9600)

That double `ser=` thing is not necessary.  It should only be `ser =
serial.Serial(port=21, baudrate=9600)`.

Look at Phil Birkelbach’s post for a possible solution.

--
Kwpolska <http://kwpolska.tk> | GPG KEY: 5EAAEA16
stop html mail                | always bottom-post
http://asciiribbon.org        | http://caliburn.nl/topposting.html

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Serial Port Issue Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-04-22 17:31 +0200

csiph-web