I'd appreciate advise on how to set the following hardware flow control parameters in FreeBasic
ControlHandShake=(DTR_HANDSHAKE, DSR_HANDSHAKE),
FlowReplace=(TRANSMIT_TOGGLE, RTS_HANDSHAKE),
XonLimit=4096,
XoffLimit=1024
I'd appreciate advise on how to set the following hardware flow control parameters in FreeBasic
ControlHandShake=(DTR_HANDSHAKE, DSR_HANDSHAKE),
FlowReplace=(TRANSMIT_TOGGLE, RTS_HANDSHAKE),
XonLimit=4096,
XoffLimit=1024
Hardware and OS dependent. MOST OS's have command line programs or scripts that will set your hardware up as you wish.
Easiest: use 'open pipe [command string]' or 'shell [command string]' to reprogram the device.
Example: To talk to one of my arduino projects, I use:
PortStr = "COM12:9600,N,8,1,CD,CS,DS,OP,BIN"
shell "stty -F /dev/ttyUSB0 speed 9600 -clocal -hupcl"
sleep 1000
open com "/dev/ttyUSB0:9600,n,8,1,cs0,cd0,ds0,rs,bin" as #filnum
Way old days: you talked directly to the 16650 or other chip directly. peek/poke/etc.
David