[En-Nut-Discussion] printf floats

Victor Behar wayward at panafonet.gr
Fri Nov 18 18:04:38 CET 2005


possibly, has been asked before

i have problems printing floats or doubles like ...

printf("\na=%f\n",a);

i get

c:145: warning: double format, float arg (arg 2)

any ideas? 

[ ethernut 2.1 - winavr - gcc ]

Thank You.

Regards,

Victor Behar 




More information about the En-Nut-Discussion mailing list