cancel
Showing results for 
Search instead for 
Did you mean: 
Observer
Observer
883 Views
Registered: ‎04-06-2018

unable to print float values in SDK

Hello,

 

I'm playing around with the xadcps_intr_example and for some reason I can't print any float values?

Any sugestions?

 

nofloat.PNG

nofloat.PNG
0 Kudos
1 Reply
Highlighted
Voyager
Voyager
849 Views
Registered: ‎03-28-2016

Re: unable to print float values in SDK

Xil_printf does not support printing floats.  Printf should print floats.  Try splitting the printf statement into two pieces.  One statement for the integer  and one for the float.

 

Ted Booth - Tech. Lead FPGA Design Engineer
www.designlinxhs.com
0 Kudos