Detect if a FTDI device is connected and use the correct class to comunicate