Serial Port Issue

Chris “Kwpolska” Warrick kwpolska at gmail.com
Mon Apr 22 11:31:15 EDT 2013


On Mon, Apr 22, 2013 at 11:34 AM, chandan kumar <chandan_psr at 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



More information about the Python-list mailing list