Posted by David Botton on February 08, 19100 at 12:04:49:
In Reply to: Re: Re: Re: Re: Re: Re: Lego Mindstorms posted by Rush Kester on February 08, 19100 at 10:12:06:
I took a look at the site and found that MindStorm comes with an OCX control: Spirit.ocx
That is the best way for Ada to program the MindStorm stuff. If some one has the Spirit.ocx, they can send it to me and I'll create the bindings from it and see if I can put together a sample or two using it based on the OCXs documentation (PBRICK) to get every one started.
It should be very easy to program for example:
with Spirit_Interface; use Spirit_Interface;
procedure Program_ME is
Rob : Spirit_Type;
SetFwd (To_BSTR ("1"));
uOn (To_BSTR ("1");
etc........ (based on the docs I saw).
Post a Followup