my $mode = FTDIdev->SetBitMode(0x03, 0x01); #also tried in dec with 3, 1 print "My mode is: $mode\n";