Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Using a Targus USB to Serial adapter with OS X' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Using a Targus USB to Serial adapter with OS X
Authored by: bfr00 on Oct 13, '03 10:05:48PM

Have you looked at the serial port commands available in Smile?

Class IO device : (inherits from basic object) I/O peripheral

Class Delcom USB Board : (inherits from IO device) (www.delcom-eng.com) the IO device for driving the Digital I/O USB Delcom board. Includes two ports of 8 bits each.
Properties:
slot small integer -- index of the USB Delcom board, used to identify the device if several are present, default 1
Elements:
digital port by numeric index

Class digital port : I/O digital port
Properties:
contained data small integer -- a value between 0 and 255
Elements:
bit by numeric index

Class bit : I/O bit
Properties:
contained data small integer -- 0 or 1

Class RS232 : (inherits from IO device) RS232 device
Properties:
configname string -- UNIX path to the serial port (as provided in the serial ports Smile's property)
RSOptions RSOptions
enabled boolean
contained data string -- data to send or data received

Class RSOptions : Options for RS232
Properties:
bauds small integer
databits small integer -- data bits count (5, 6, 7 or 8)
stopbits small integer -- 1: send one stop bit, 2: send two stop bits
parity small integer -- 0: disabled, 1: enabled, 2: odd parity
flowcontrol small integer -- 0: none, 1: outbounds CTS, 2: inbounds DTR, 3: enable input and output flow control



[ Reply to This | # ]