Re: Hi I have a problem with serial port in win xp.
- Posted by jacquesd Sep 14, 2008
- 934 views
nap51d said...
Is there a way to write to the port without to much mess. Is there an example that I can see or learn from I m not that good programmer end euphoria is the only code that I know So I need something the stays in euphoria end not C or something else
atom fh fh = open("com1","wb")-- open serial port COM1 puts(fh,"hello world\n") -- write to serial port COM1 -- it is opened as binary so you can send binary data too. puts(fh,{1,3,3,4,3}) close(fh)