From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,656febe2966a6347,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-11 10:49:46 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: kz105@student.cs.york.ac.uk (Jamie) Newsgroups: comp.lang.ada Subject: Need your help. How to use ada communicate with hardware? ---A beginner Date: 11 Apr 2002 10:49:45 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 144.32.40.18 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1018547386 15730 127.0.0.1 (11 Apr 2002 17:49:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 11 Apr 2002 17:49:46 GMT Xref: archiver1.google.com comp.lang.ada:22375 Date: 2002-04-11T17:49:46+00:00 List-Id: i'm recently learning ada. we have a project needed using computer to control a machine. the machine has a microcontroller. i need to write some program to communication with it via RS232 serial link. for example, i need to ask the status of machine by sending a request, and the machine will return a string to the computer. but i don't actually know how to use ada to communicate hardware, becasue i'm a beginner of programming. some body said that there is a binding to comms port. could anyone please show me how to use it with some examples. Thanks.