Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
822 B

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: RS485.cpp
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Source file of Rs485.cpp
//----------------------------------------------------------------------------
#include "StdAfx.h"
#include "..\Version.h"
#include "RS485.h"
DWORD CConnectionRS485::Write( PBYTE pBuffer, DWORD dwSize, DWORD dwTimeout )
{
CConnectionRS232::SetRTS( TRUE );
DWORD dwWritten = CConnectionRS232::CommWrite( pBuffer, dwSize, dwTimeout );
CConnectionRS232::Flush();
CConnectionRS232::SetRTS( FALSE );
return dwWritten;
}