piclist 1999\10\01\115035a >
Thread: Data types, floating notation
face BY : Quentin email (remove spam text)

Barry King wrote:

> so that's  00  C0  79  C4
That's correct, it's what I get when I monitor the port.

> > This is for serial communications, my PIC must recognize the -999 as the
> > start of the packet.
> Are you really talking to a system that dumps binary format floating
> point numbers on the serial port?
You sound like you were shocked :). Yes.
> What about the rest of the data?  Coding a floating point conversion
> is not trivial.
After the start, there comes another 8-12 numbers in 4 byte floating and
a checksum.

> I recommend using a existing implementation.  A good C compiler
> (as above) will have the floating point routines built in.
Problem is, I work in assembler. Anybody got routines for that?


<37F4D7F2.9E4483D@icon.co.za> 7bit

See also: www.piclist.com/techref/mems.htm?key=data
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Data types, floating notation

month overview.

new search...