[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Floating point on Mega32
From: |
Douglas Dotson |
Subject: |
[avr-gcc-list] Floating point on Mega32 |
Date: |
Mon, 26 Jan 2004 09:05:11 -0800 (PST) |
Greetings!
I am attempting to use floating point on a Mega32.
double x;
char str [20];
x = 3.14;
sprintf (str, "%5.2lf", x);
usartTransmitString (str);
The result is a ? is displayed.
I', sure it is something simple, but this my first
time
using gcc on AVR.
Thanks!
Doug
- [avr-gcc-list] Floating point on Mega32,
Douglas Dotson <=