This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

printf with float displays "???"

Using Keil (uVision V3.72, PK51 V8.17) for an 8051 variant (SiLabs, 8051F120). I'm trying to use printf to display a float:

   printf("float test: %f\n", 3.75);

What I get is

float test: ???

INTs display OK, but not floats. This one has me rather stumped, so I'm not having much luck finding answers.

Thanks,

Joe

0