{$IFDEF FPC} {$UNDEF UseSerialPort} {$ELSE} {$DEFINE UseSerialPort} {$ENDIF}