I have write a small library for serial communication under Win
The RX routine for reading incoming data is installed with fileevent command:
fileevent $cfg(port) readable com::port_rxisr
My com::rx_isr procedure do this
variable cfg
append cfg(rxbuffer) [read $cfg(port)]...
Thanks for reply.
Yes is a PC serial problem I don't understand why the serial port send a wrong char.
The serial port is mounted on a PCI board with MosChip and I can't see nonthing to configure.
But the main problem is solved!
Thanks again Bong
(and sorry for reply delay)
I am a beginner with Tcl and I start practice with wish85 console
under Win XP sp3
Mi goal is read incoming serial port chars
I use the com port on my PC. Com1 is open from TCL and Com2 from Hyperterminal. My console instructions are
% set comport [open com1 RDWR]
file12e2a18
% fconfigure...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.