Wow, that was interesting.

First of all, thanks for the mode command, I forgot that even existed.

When I click into device manager, it tells me the USB to serial port converter is on COM3. It also told me the baud rate was 9600. I manually changed it to 19200. I got out of device manager in case it might be interfering.

mode COM3: before opening the device gives me a baud rate of 1200, n, 7, 1. So much for my setting the port to 19200 in the device manager. When the code opens the port, mode says the device is not available. So at least perl grabbed the right device, but I can't tell what the settings are.


In reply to Re^2: serial port control on Windows by hydrodog
in thread serial port control on Windows by hydrodog

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.