Thanks Eric, I will get back to you if I run into any trouble. Best Regards, Rodney
-----Original Message----- From: Weddington, Eric [mailto:[email protected]] Sent: Wednesday, March 04, 2009 7:50 AM To: Rodney McCray; [email protected] 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: > [email protected] > [mailto:avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu. > org] On Behalf Of Rodney McCray > Sent: Wednesday, March 04, 2009 7:18 PM > To: [email protected] > 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 > [email protected] > http://lists.nongnu.org/mailman/listinfo/avr-gcc-list > _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
