please dont rip this site

PIC Microcontoller Math Method

Floating point conversion routine

by David Lions

I made a utility to convert a floating point number into byte representation. It can convert into several formats, Hitech 24 Bit, IEEE 754 32Bit, and Microchip 24 and 32 bit format used in their application note AN575. It also converts back the other way, and shows information about the format being used.

Posted here:

http://members.optushome.com.au/yizgarnoff/index.html

We are doing a lot of manual calibration. This involves calculating gains and offsets on paper, then having to program them in byte-by-byte. The purpose of this was to get the byte representation quickly and easily. We only use Hitech 24 bit but I thought I'd add some other formats as a learning excersise, make it more useful to others, and justify 1Gb of disk space used by Visual C++.

Binary

Source


Al Williams of AWC Says:

Hey, that's neat. I have a similar program available you can download for free at the link included.
http://www.al-williams.com/awce/fconvert.zip
This is the same program we provide with the PAK-I, PAK-II, and PAK-IX math coprocessors.

file: /Techref/microchip/math/fpconvert.htm, 2KB, , updated: 2001/8/20 07:38, local time: 2024/12/22 09:56, owner: AW-AWC-O86,
TOP NEW HELP FIND: 
18.226.214.1:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/microchip/math/fpconvert.htm"> PIC Microcontoller Math Method</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .