Hi, I am updating an old project that was on a SB70 to now run on a SB700EX, I need to switch the DTR pins on both Uarts off/on at certain times without using these signals for flow control.
I originally asked on the forum how to do this for the SB70 and received good answers, it seems that approach dosent apply with the SB70, can anyone let me know how to do this on an SB700EX.
Thanks in adavance, Bill
controlling the Uart DTR pins on a SB700EX
Re: controlling the Uart DTR pins on a SB700EX
Hi,
Look at the header file for serial:
C:\nburn\include\serial.h
This contains functions for reading or setting on the various "extra" pins of the DB9:
BOOL GetCD( int port );
BOOL GetRI( int port );
BOOL GetDSR( int port );
void SetDTR( int port, BOOL val );
-Larry
Look at the header file for serial:
C:\nburn\include\serial.h
This contains functions for reading or setting on the various "extra" pins of the DB9:
BOOL GetCD( int port );
BOOL GetRI( int port );
BOOL GetDSR( int port );
void SetDTR( int port, BOOL val );
-Larry
Re: controlling the Uart DTR pins on a SB700EX
Thanks Larry, thats exactly what i needed.
regards, Bill
regards, Bill