home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!jato!jdickson
- From: jdickson@jato.jpl.nasa.gov (Jeff Dickson)
- Subject: Re: RS-232 Programming
- Message-ID: <1993Jan23.063833.28466@jato.jpl.nasa.gov>
- Organization: Jet Propulsion Laboratory
- References: <navy.727747162@vincent1.iastate.edu>
- Date: Sat, 23 Jan 1993 06:38:33 GMT
- Lines: 24
-
- In article <navy.727747162@vincent1.iastate.edu> navy@iastate.edu (Scott V Rivera) writes:
- >Can anyone help me with some code (pascal or C preferred) for reading
- >from the RS-232 ports. Mainly I would like to be able to read a
- >8-bit binary number and possibly pass back and forth some control values.
- >
- >I guess the real question is... is there a way to detect logical
- >highs and lows in the port, and place logical highs and lows.
- >
- >Please post any questions. I know it may be too vague, just let me know.
- >
- >Thanks,
- >Scott Rivera
- >navy@iastate.edu
- >PrISUm - Solar car project
- >Iowa State Universisty
- >
-
- My advise is to get a hold of the Rom Kernel Manual. It contains an
- adequate description of the serial.device. You do not need to set/reset
- individual bits (make a mountain out of a mole hill) to accomplish what you
- want.
-
- Jeff
-
-