Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/12/00 06:29
Read: times


 
#2183 - RE: Storing floating point variables
extern ee_wr_byte( int addr, char dat );


ee_write( int addr, char idata *dat, char length )
{
do{
ee_wr_byte( addr, *dat );
addr++;
dat++;
}while( --length );
}


store_float( int addr, float fn)
{
ee_write( addr, (char idata *) &fn, 4 );
}



You must only insert your own ee_wr_byte routine.

Peter

List of 4 messages in thread
TopicAuthorDate
Storing floating point variables            01/01/70 00:00      
RE: Storing floating point variables            01/01/70 00:00      
RE: Storing floating point variables            01/01/70 00:00      
RE: Storing floating point variables            01/01/70 00:00      

Back to Subject List