Thanks Eric, I will get back to you if I run into any trouble. Best Regards, Rodney
-----Original Message----- From: Weddington, Eric [mailto:ewedding...@cso.atmel.com] Sent: Wednesday, March 04, 2009 7:50 AM To: Rodney McCray; AVR-GCC-list@nongnu.org Subject: RE: [avr-gcc-list] Floating Point operations on tiny25 Hi Rodney, You should just be able to typecast an integer type into a float type. Just realize that working with floats is generally expensive in terms of code space. Let me know if you need me to look over some code. Eric Weddington > -----Original Message----- > From: > avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu.org > [mailto:avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu. > org] On Behalf Of Rodney McCray > Sent: Wednesday, March 04, 2009 7:18 PM > To: AVR-GCC-list@nongnu.org > Subject: [avr-gcc-list] Floating Point operations on tiny25 > > Does anyone have any working sample code that shows how to > convert 10 bit > ADC outputs into floating points using GCC. > I need to work with floating points on an ATtiny25. > > Best Regards, > Rodney > > > > > _______________________________________________ > AVR-GCC-list mailing list > AVR-GCC-list@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-gcc-list > _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list