PSoC Designer PSoC 4 Floating Numbers | Cypress Semiconductor
PSoC Designer PSoC 4 Floating Numbers
So, I'm trying to print numbers of type float to an LCD screen using sprintf, but my screen isn't displaying things properly. I tested sprintf using integers, and I got that to work, but I still can't get floating numbers to show up. Originally my variables were of type float, but I've sinced changed them to type double. If anyone has a clue to why it's doing this, please let me know. My code is shown below. This is my first time posting, so I'm not sure how to properly copy and paste my code into this text box, so I've attached the file.
(FYI, the reason I have all LCD commands in the infinite for loop is becasue I need it to be updating regularly).