home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19096 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.2 KB  |  35 lines

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