Help for this page

Select Code to Download


  1. or download this
    # Get/Set BitMode 
    use constant PFT_BITMODE_RESET => 0x00;
    ...
    use constant PFT_BITMODE_MHBEM => 0x08;
    use constant PFT_BITMODE_FOISM => 0x10;
    use constant PFT_BITMODE_CBUSBB => 0x20;
    
  2. or download this
    #
    # assuming you called OpenByIndex on this object already
    #
    $mode = $FTDIdev->SetBitMode(0xFF, 0x01);