If you&#39;re using something like an FT232 to convert from usb to TTL on the device side, Windows will automatically install a virtual com port driver, and you just need to look in the device manager to see which COM port # it set for that device. When you open the SerialPort object in Cuis, just provide the port # as the port argument, and it should work with no issues.<div>
<br></div><div>- Jon</div><div><br><br><div class="gmail_quote">On Sat, Feb 25, 2012 at 5:22 AM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Feb 24, 2012 at 08:38:29PM -0800, Overcomer Man wrote:<br>
&gt; How do I make a Serial ComPort to text I/O with a USB device?<br>
&gt;<br>
&gt; I am currently trying to emulate most of this simple software so I can<br>
&gt; build better tools in Smalltalk:<br>
&gt; <a href="http://www.parallax.com/Portals/0/Downloads/sw/propeller/Parallax-Serial-Terminal.exe" target="_blank">http://www.parallax.com/Portals/0/Downloads/sw/propeller/Parallax-Serial-Terminal.exe</a><br>
&gt;<br>
&gt; I am using Cuis 3.3 under Win XP and/or Vista but am willing to use any VM,<br>
&gt; .dll, or package to get started.  Thanks.<br>
<br>
Hi Kirk,<br>
<br>
This may turn out to be a complicated question, so I am copying the<br>
squeak-dev list also.<br>
<br>
Since you are starting with a Cuis image, you will want to add the<br>
class SerialPort from a Squeak image (probably you can just file it<br>
out from Squeak, and file it in to Cuis). This will give you the basic<br>
access to COM ports from your image. I think (but I&#39;m not certain) that<br>
any of the usual VMs (standard VM or Cog) will have the necessary<br>
support for using SerialPort on Windows.<br>
<br>
I think that on Windows using USB serial ports is a matter of mapping<br>
the serial ports to something that looks like e.g. COM3:, but I am<br>
not a windows user so I don&#39;t know the specifics. Probably someone<br>
on the squeak-dev list will be able to give some advice.<br>
<br>
HTH,<br>
Dave<br>
<br>
<br>
</blockquote></div><br></div>