<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I'm not an expert, but a few years ago
      I made small project to read data from an Arduino through USB
      port. The project was running on Raspberry Pi, on Windows it can
      be more tricky( I'm not sure, but I think a device driver is
      needed):</div>
    <div class="moz-cite-prefix"><a class="moz-txt-link-freetext"
href="https://github.com/jsuzineau/pascal_o_r_mapping/tree/master/electronic/Arduino/HeartRate"
        moz-do-not-send="true">https://github.com/jsuzineau/pascal_o_r_mapping/tree/master/electronic/Arduino/HeartRate</a>
      ,  see Arduino_Special_Raspberry_Pi.lpi<br>
      It seems I used TLazSerial component.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Le 26/07/2019 à 00:04, James Richters a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:166601d54334$de9c6710$9bd53530$@productionautomation.net">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Does Freepascal have support for USB Human
          Interface devices?   I am attempting to interface to an
          WHB04B-4 <a
            href="https://www.amazon.com/gp/product/B07M5ZY1P2"
            moz-do-not-send="true">https://www.amazon.com/gp/product/B07M5ZY1P2</a>
          <o:p></o:p></p>
        <p class="MsoNormal">I have an example of how to do it that was
          written in Python, so I’m trying to figure out how to get it
          to work with my FPC console application.   Figuring out how to
          interface with the device at all is what is holding me up, I
          don’t have any experience with direct interfacing to any USB
          devices.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Any suggestions?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">James<o:p></o:p></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>