From: "mop" <mop65715@pegasus.cc.ucf.edu>
Subject: ada newbie
Date: Tue, 7 Aug 2001 11:06:09 -0400
Date: 2001-08-07T11:06:09-04:00 [thread overview]
Message-ID: <9kp053$ro0$1@zeus.orl.lmco.com> (raw)
so my data looks like this. In C I could create a structure and go from
there. I'm new to Ada and need help on how to setup the data. I suspect I
could use some sort of a record once I setup the structure in Ada to pass
the data.
example data
word bit function remarks
1 2-0 command logic 001
3 mode logic 0 - normal
logic 1 -
diagnostic
7-4 spare
etc.etc
8 7-0 checksum sum of above message bytes
i'll be sending data across a serial port and need to change the parity bit
on the fly. from MarkParity to SpaceParity. So I'll send word 1 - default
parity bit MarkParity then change to SpaceParity for the rest of the data.
help. already wrote fully functional GUI is C but now need to do the same
in Ada and have no idea where to start.
next reply other threads:[~2001-08-07 15:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-07 15:06 mop [this message]
2001-08-07 16:09 ` ada newbie Marin David Condic
-- strict thread matches above, loose matches on Subject: below --
1993-07-26 18:10 Ada Newbie agate!howland.reston.ans.net!usc!cs.utexas.edu!asuvax!ennews!mcdphx!schbb
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox