PSO5 Printing Floats on LCD

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JiGi_284761
Level 4
Level 4
Welcome!

This is sort of a on going issue for me.

   

But is anyone having luck printing a float to a LCD using the LCD component.

   

Ive tried using sprintf and PrintString but only get a blank space....

   

Application is for Modbus conversion to float32 or Real data type.

   

I don't have the memory issue that others here have pointed out. Just inability to print a float.

   

Thanks

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Have a look at Robyn's post here www.cypress.com/

   

 

   

Bob

0 Likes
JiGi_284761
Level 4
Level 4
Welcome!

Yep

   

That did it.

   

Thanks a lot Bob!

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You are always welcome!

   

 

   

Bob

0 Likes