You are here

PSOC 5.3 Example Projects | Cypress Semiconductor

PSOC 5.3 Example Projects

Summary: 0 Replies, Latest post by danaaknight on 16 Dec 2012 01:13 PM PST
Verified Answers: 0
Log in to post new comments.
user_14586677's picture
7646 posts

In the example projects, specifically the ADCINC and ADC10 projects,

you use floating point math to display the voltage read on the LCD.


I would like to suggest you do these in integer math, because of the cost

of the float library in code space, especially in light of the the ADC10 project

using a CY21xxx part. Do the calcs in mV and then display as a float repre-

sentation by acting/formatting on the ltoa() or itoa() output appropriately.


Regards, Dana.

Log in to post new comments.