comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Need your help. How to use ada communicate with hardware? ---A beginner
Date: 12 Apr 2002 09:36:33 -0400
Date: 2002-04-12T13:42:26+00:00	[thread overview]
Message-ID: <upu15599a.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: ba071575.0204110949.747940b@posting.google.com

kz105@student.cs.york.ac.uk (Jamie) writes:

> 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.

You need to say what operating system you are using. 

I'll go out on a not-very-long limb and assume Windows. If that is
true, you can use my binding to the Windows comm ports:

http://users.erols.com/leakstan/Stephe/Ada/win32_com_ports.zip

-- 
-- Stephe



      parent reply	other threads:[~2002-04-12 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-11 17:49 Need your help. How to use ada communicate with hardware? ---A beginner Jamie
2002-04-11 19:41 ` Dan Andreatta
2002-04-12 13:36 ` Stephen Leake [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox