Re: serial communication with tcl



On Feb 28, 10:12 am, grp62 <gr...@xxxxxxxx> wrote:

set serial [open /dev/ttyS0 RDWR]
fconfigure $serial -mode "115200,n,8,1"

here's the message i get:

 bad option "-mode": should be one of -blocking, -buffering, -
buffersize, -encoding, -eofchar, or -
translation


The -mode flag was moved to tcl's open command back in 2003. Read the
second n open man page (see the link at the top of http://wiki.tcl.tk/open
if you don't have local man pages) for more details.
.